Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.0009089/0.0009087, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000973/0.0009729, allocations: 183 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6322/0.6322, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 9 kB / 495.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 77.53 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.269/0.3912, allocations: 59.71 MB / 0.6183 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.4062, allocations: 11.91 MB / 0.63 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.4082, allocations: 61.97 kB / 0.63 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.4098, allocations: 0.5503 MB / 0.6306 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.4144, allocations: 1.8 MB / 0.6323 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.4172, allocations: 1.073 MB / 0.6334 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.4217, allocations: 3.902 MB / 0.6372 GB, free: 2.898 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.4228, allocations: 0.9028 MB / 0.6381 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.4246, allocations: 1.12 MB / 0.6392 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.4255, allocations: 0.8587 MB / 0.64 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-05/0.4256, allocations: 45.38 kB / 0.64 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.4278, allocations: 1.341 MB / 0.6414 GB, free: 420 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.4281, allocations: 215 kB / 0.6416 GB, free: 256 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.4286, allocations: 0.6323 MB / 0.6422 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.4306, allocations: 2.194 MB / 0.6443 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4306, allocations: 0 / 0.6443 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4306, allocations: 3.938 kB / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4307, allocations: 2.625 kB / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.0022/0.4329, allocations: 1.483 MB / 0.6458 GB, free: 13.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4329, allocations: 14.06 kB / 0.6458 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.433, allocations: 125.6 kB / 0.6459 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.435, allocations: 468.3 kB / 0.6464 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.4367, allocations: 1.133 MB / 0.6475 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.4371, allocations: 134.7 kB / 0.6476 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4372, allocations: 79.66 kB / 0.6477 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.4389, allocations: 1.006 MB / 0.6486 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4389, allocations: 6.969 kB / 0.6487 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.439, allocations: 30.97 kB / 0.6487 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.439, allocations: 17.97 kB / 0.6487 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.4412, allocations: 0.9175 MB / 0.6496 GB, free: 10.85 MB / 478.1 MB 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.005274/0.4465, allocations: 4.921 MB / 0.6544 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.4498, allocations: 0.8949 MB / 0.6553 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.4505, allocations: 320.7 kB / 0.6556 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/0.451, allocations: 0.9141 MB / 0.6565 GB, free: 3.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4511, allocations: 42.55 kB / 0.6565 GB, free: 3.273 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.402e-06/0.4511, allocations: 0 / 0.6565 GB, free: 3.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.008336/0.4594, allocations: 2.173 MB / 0.6586 GB, free: 1.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.4595, allocations: 55.41 kB / 0.6587 GB, free: 1.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.4608, allocations: 1.055 MB / 0.6597 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.4609, allocations: 41.7 kB / 0.6598 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.4612, allocations: 0.5235 MB / 0.6603 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4613, allocations: 161.7 kB / 0.6604 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.4614, allocations: 41.7 kB / 0.6605 GB, free: 15.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.4615, allocations: 330 kB / 0.6608 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/0.4624, allocations: 324.9 kB / 0.6611 GB, free: 14.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/0.4634, allocations: 0.5294 MB / 0.6616 GB, free: 13.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.465, allocations: 0.7327 MB / 0.6623 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.465, allocations: 0 / 0.6623 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002454/0.4675, allocations: 1.062 MB / 0.6634 GB, free: 12.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.4676, allocations: 206 kB / 0.6636 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.4676, allocations: 11.92 kB / 0.6636 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.4688, allocations: 333.4 kB / 0.6639 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.4693, allocations: 131.8 kB / 0.664 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.4707, allocations: 0.9321 MB / 0.6649 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.4718, allocations: 201.5 kB / 0.6651 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.4719, allocations: 31.98 kB / 0.6651 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.4719, allocations: 4 kB / 0.6651 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002294/0.4742, allocations: 0.9059 MB / 0.666 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4742, allocations: 4.438 kB / 0.666 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.4752, allocations: 334.9 kB / 0.6664 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.4757, allocations: 131.8 kB / 0.6665 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.477, allocations: 0.9309 MB / 0.6674 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/0.478, allocations: 176.8 kB / 0.6676 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.478, allocations: 32 kB / 0.6676 GB, free: 7.586 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/0.4784, allocations: 349 kB / 0.6679 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4785, allocations: 106.7 kB / 0.668 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.4822, allocations: 1.211 MB / 0.6692 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.4823, allocations: 8 kB / 0.6692 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4823, allocations: 0 / 0.6692 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.4823, allocations: 3.984 kB / 0.6692 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.487, allocations: 2.288 MB / 0.6715 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.487, allocations: 3.938 kB / 0.6715 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.4873, allocations: 76.11 kB / 0.6715 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009706/0.4883, allocations: 332.5 kB / 0.6718 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.4883, allocations: 19.98 kB / 0.6719 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.4897, allocations: 0.9667 MB / 0.6728 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4897, allocations: 7.938 kB / 0.6728 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.4932, allocations: 1.287 MB / 0.6741 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.4935, allocations: 283.4 kB / 0.6743 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.4936, allocations: 8 kB / 0.6744 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008382/0.4944, allocations: 111.9 kB / 0.6745 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.4945, allocations: 51.59 kB / 0.6745 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.4946, allocations: 23.98 kB / 0.6745 GB, free: 284 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009611/0.4955, allocations: 0.7389 MB / 0.6753 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4956, allocations: 4 kB / 0.6753 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001219/0.4968, allocations: 0.5652 MB / 0.6758 GB, free: 14.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004294/0.5011, allocations: 2.104 MB / 0.6779 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.5039, allocations: 1.18 MB / 0.679 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.504, allocations: 0 / 0.679 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.5048, allocations: 374.4 kB / 0.6794 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.5073, allocations: 0.5078 MB / 0.6799 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.524, allocations: 9.219 MB / 0.6889 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.5245, allocations: 1.061 MB / 0.6899 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000743/0.5253, allocations: 216.7 kB / 0.6901 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.5258, allocations: 407.3 kB / 0.6905 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.5258, allocations: 0 / 0.6905 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.52/4.046, allocations: 32.28 MB / 0.722 GB, free: 15.58 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/4.046, allocations: 272.6 kB / 0.7223 GB, free: 15.22 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/6.806, allocations: 0 / 0.7223 GB, free: 15.22 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)