Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",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.0007812/0.0007812, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008121/0.0008124, allocations: 168.7 kB / 15.95 MB, free: 204 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.305/1.305, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9543/0.9543, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003345, allocations: 12 kB / 0.5161 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 83.41 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3482/0.5082, allocations: 69.41 MB / 0.6653 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.5278, allocations: 14.19 MB / 0.6792 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.5305, allocations: 57.44 kB / 0.6792 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.5331, allocations: 0.5627 MB / 0.6798 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007946/0.5411, allocations: 1.989 MB / 0.6817 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.545, allocations: 0.973 MB / 0.6827 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009409/0.5544, allocations: 4.811 MB / 0.6874 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.557, allocations: 1.02 MB / 0.6884 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.5608, allocations: 1.278 MB / 0.6896 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.564, allocations: 1.081 MB / 0.6907 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003689/0.5644, allocations: 58.28 kB / 0.6907 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.5682, allocations: 0.9195 MB / 0.6916 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.5687, allocations: 266.6 kB / 0.6919 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009377/0.5697, allocations: 360.3 kB / 0.6922 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004259/0.5739, allocations: 2.222 MB / 0.6944 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.574, allocations: 0 / 0.6944 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.954e-06/0.574, allocations: 1.281 kB / 0.6944 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.558e-05/0.574, allocations: 0 / 0.6944 GB, free: 14.38 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.004585/0.5786, allocations: 1.8 MB / 0.6962 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5787, allocations: 8.938 kB / 0.6962 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003339/0.579, allocations: 147.8 kB / 0.6963 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.5801, allocations: 243.9 kB / 0.6965 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/0.583, allocations: 1.449 MB / 0.698 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.5831, allocations: 75.83 kB / 0.698 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.5833, allocations: 105.3 kB / 0.6981 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.5856, allocations: 1.113 MB / 0.6992 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.5856, allocations: 5.375 kB / 0.6992 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.5857, allocations: 45.48 kB / 0.6993 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.5858, allocations: 25.31 kB / 0.6993 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.5878, allocations: 0.9253 MB / 0.7002 GB, free: 11.23 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.007307/0.5952, allocations: 4.917 MB / 0.705 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.5967, allocations: 0.6398 MB / 0.7056 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007062/0.5974, allocations: 369.5 kB / 0.706 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.5981, allocations: 0.8276 MB / 0.7068 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.5981, allocations: 50.83 kB / 0.7068 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.925e-06/0.5981, allocations: 0 / 0.7068 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006772/0.6049, allocations: 1.889 MB / 0.7087 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.605, allocations: 66.14 kB / 0.7087 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.6073, allocations: 1.195 MB / 0.7099 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.6074, allocations: 39.55 kB / 0.7099 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005671/0.608, allocations: 0.605 MB / 0.7105 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.6082, allocations: 215 kB / 0.7107 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.6083, allocations: 15.16 kB / 0.7107 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6084, allocations: 340.2 kB / 0.7111 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/0.6091, allocations: 294.6 kB / 0.7114 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.61, allocations: 0.4981 MB / 0.7118 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.6108, allocations: 364 kB / 0.7122 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.6108, allocations: 1.125 kB / 0.7122 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004649/0.6155, allocations: 1.396 MB / 0.7135 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.6156, allocations: 197.2 kB / 0.7137 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6157, allocations: 7.672 kB / 0.7137 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.6163, allocations: 144.2 kB / 0.7139 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.6169, allocations: 168.4 kB / 0.714 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008269/0.6178, allocations: 0.7183 MB / 0.7147 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6192, allocations: 167.1 kB / 0.7149 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.6194, allocations: 36.45 kB / 0.7149 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.6194, allocations: 3.875 kB / 0.7149 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004104/0.6235, allocations: 1.242 MB / 0.7162 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6235, allocations: 4.281 kB / 0.7162 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/0.624, allocations: 159.1 kB / 0.7163 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.6246, allocations: 161.6 kB / 0.7165 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008159/0.6255, allocations: 0.7222 MB / 0.7172 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.6269, allocations: 155.6 kB / 0.7173 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/0.627, allocations: 32.45 kB / 0.7173 GB, free: 15.34 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.0008706/0.6279, allocations: 422.8 kB / 0.7178 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000467/0.6283, allocations: 134.9 kB / 0.7179 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/0.6328, allocations: 1.4 MB / 0.7192 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.6329, allocations: 6.875 kB / 0.7193 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.6329, allocations: 7.938 kB / 0.7193 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003916/0.6368, allocations: 1.229 MB / 0.7205 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007129/0.6439, allocations: 2.733 MB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.644, allocations: 4.438 kB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.6445, allocations: 123.8 kB / 0.7233 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/0.645, allocations: 140.7 kB / 0.7234 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.6451, allocations: 23.98 kB / 0.7234 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004478/0.6495, allocations: 2.476 MB / 0.7258 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.6496, allocations: 7.938 kB / 0.7258 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.6548, allocations: 1.844 MB / 0.7276 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.656, allocations: 343 kB / 0.728 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006208/0.6566, allocations: 12 kB / 0.728 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.6581, allocations: 97.45 kB / 0.7281 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.6582, allocations: 60.3 kB / 0.7281 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6584, allocations: 31.97 kB / 0.7282 GB, free: 5.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001725/0.6601, allocations: 0.8545 MB / 0.729 GB, free: 4.234 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6601, allocations: 0 / 0.729 GB, free: 4.234 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002901/0.663, allocations: 0.7096 MB / 0.7297 GB, free: 3.523 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.006299/0.6693, allocations: 2.728 MB / 0.7323 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002658/0.672, allocations: 1.149 MB / 0.7335 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.672, allocations: 4.062 kB / 0.7335 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.6734, allocations: 0.6031 MB / 0.7341 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/0.6776, allocations: 0.7538 MB / 0.7348 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/0.6995, allocations: 8.361 MB / 0.743 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.7004, allocations: 1.179 MB / 0.7441 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001439/0.7018, allocations: 304.8 kB / 0.7444 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.7026, allocations: 0.511 MB / 0.7449 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.7026, allocations: 4 kB / 0.7449 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06924/0.7719, allocations: 42.43 MB / 0.7863 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.7721, allocations: 252 kB / 0.7866 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.524, allocations: 0 / 0.7866 GB, free: 9.309 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: