Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006669/0.0006671, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9689/0.9689, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3568/0.509, allocations: 69.44 MB / 0.6653 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01865/0.5277, allocations: 14.2 MB / 0.6792 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.53, allocations: 60.31 kB / 0.6793 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.5321, allocations: 0.5632 MB / 0.6798 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.5384, allocations: 1.988 MB / 0.6818 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.542, allocations: 0.9666 MB / 0.6827 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007612/0.5496, allocations: 4.815 MB / 0.6874 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.5526, allocations: 1.023 MB / 0.6884 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.5567, allocations: 1.273 MB / 0.6897 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.5597, allocations: 1.083 MB / 0.6907 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005548/0.5603, allocations: 54.69 kB / 0.6908 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.5648, allocations: 0.9241 MB / 0.6917 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009198/0.5657, allocations: 267.2 kB / 0.6919 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.567, allocations: 364.3 kB / 0.6923 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.5714, allocations: 2.214 MB / 0.6944 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5715, allocations: 1 kB / 0.6944 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5715, allocations: 0 / 0.6944 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.47e-05/0.5716, allocations: 0 / 0.6944 GB, free: 14.46 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005824/0.5774, allocations: 1.801 MB / 0.6962 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5775, allocations: 9.656 kB / 0.6962 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005689/0.578, allocations: 149.9 kB / 0.6963 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.5795, allocations: 242.5 kB / 0.6966 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004931/0.5845, allocations: 1.446 MB / 0.698 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.5847, allocations: 84.89 kB / 0.6981 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.585, allocations: 101.5 kB / 0.6982 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.5881, allocations: 1.11 MB / 0.6992 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.5882, allocations: 5.094 kB / 0.6992 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.5883, allocations: 41.5 kB / 0.6993 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.5884, allocations: 23.75 kB / 0.6993 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.5908, allocations: 0.9262 MB / 0.7002 GB, free: 11.31 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00804/0.5989, allocations: 4.923 MB / 0.705 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.6004, allocations: 0.6325 MB / 0.7056 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.6012, allocations: 374.9 kB / 0.706 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006327/0.6018, allocations: 0.8272 MB / 0.7068 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.6019, allocations: 46.12 kB / 0.7069 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.956e-06/0.6019, allocations: 0.5312 kB / 0.7069 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006935/0.6088, allocations: 1.889 MB / 0.7087 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.6089, allocations: 58.31 kB / 0.7088 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.6114, allocations: 1.199 MB / 0.7099 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.6117, allocations: 42.64 kB / 0.71 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/0.6123, allocations: 0.6081 MB / 0.7106 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.6127, allocations: 216 kB / 0.7108 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.6127, allocations: 14.25 kB / 0.7108 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6129, allocations: 341.4 kB / 0.7111 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007796/0.6137, allocations: 293.6 kB / 0.7114 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009297/0.6146, allocations: 0.5026 MB / 0.7119 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.6155, allocations: 360.4 kB / 0.7122 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.6155, allocations: 1.125 kB / 0.7122 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004828/0.6203, allocations: 1.391 MB / 0.7136 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.6205, allocations: 196.8 kB / 0.7138 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6206, allocations: 7.672 kB / 0.7138 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.6212, allocations: 138.5 kB / 0.7139 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.6219, allocations: 172.7 kB / 0.7141 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008822/0.6228, allocations: 0.7139 MB / 0.7148 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.6244, allocations: 171.8 kB / 0.7149 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.6246, allocations: 31.75 kB / 0.715 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6246, allocations: 3.562 kB / 0.715 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004386/0.629, allocations: 1.251 MB / 0.7162 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.6291, allocations: 4.25 kB / 0.7162 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.6296, allocations: 143.3 kB / 0.7163 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.6302, allocations: 172.7 kB / 0.7165 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008132/0.631, allocations: 0.7095 MB / 0.7172 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.6327, allocations: 162.8 kB / 0.7173 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.6328, allocations: 27.95 kB / 0.7174 GB, free: 15.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001105/0.634, allocations: 417.8 kB / 0.7178 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/0.6345, allocations: 148.1 kB / 0.7179 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/0.6393, allocations: 1.4 MB / 0.7193 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/0.6393, allocations: 6.812 kB / 0.7193 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.6393, allocations: 3.953 kB / 0.7193 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00392/0.6433, allocations: 1.241 MB / 0.7205 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007659/0.651, allocations: 2.741 MB / 0.7232 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.651, allocations: 4 kB / 0.7232 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.6516, allocations: 116.3 kB / 0.7233 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/0.6521, allocations: 140.7 kB / 0.7234 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.6522, allocations: 23.98 kB / 0.7234 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/0.6572, allocations: 2.474 MB / 0.7259 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.6573, allocations: 4 kB / 0.7259 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/0.6633, allocations: 1.844 MB / 0.7277 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.6647, allocations: 339 kB / 0.728 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006564/0.6654, allocations: 16 kB / 0.728 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.667, allocations: 99.86 kB / 0.7281 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.6672, allocations: 60.3 kB / 0.7282 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.6673, allocations: 27.98 kB / 0.7282 GB, free: 4.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002379/0.6697, allocations: 0.8584 MB / 0.729 GB, free: 4.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6697, allocations: 4 kB / 0.729 GB, free: 4.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004237/0.6739, allocations: 0.7057 MB / 0.7297 GB, free: 3.422 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007341/0.6813, allocations: 2.732 MB / 0.7324 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003183/0.6845, allocations: 1.161 MB / 0.7335 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.6845, allocations: 0 / 0.7335 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.6862, allocations: 0.5956 MB / 0.7341 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005316/0.6915, allocations: 0.7564 MB / 0.7348 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/0.7206, allocations: 8.368 MB / 0.743 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.7221, allocations: 1.175 MB / 0.7442 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002213/0.7244, allocations: 310.5 kB / 0.7445 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.7255, allocations: 0.511 MB / 0.7449 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of SimCode: time 2.094e-06/0.7255, allocations: 0 / 0.7449 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09295/0.8185, allocations: 42.46 MB / 0.7864 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/0.8189, allocations: 274.3 kB / 0.7867 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.83, allocations: 0 / 0.7867 GB, free: 9.156 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: