Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y") translateModel(BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 119 kB / 16.42 MB, free: 6.473 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.002021/0.002021, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 290.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 91.86 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.411, allocations: 86.98 MB / 0.767 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y): time 0.07228/0.4833, allocations: 75.17 MB / 0.8405 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.5027, allocations: 15.15 MB / 0.8553 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.5047, allocations: 67.62 kB / 0.8553 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.5069, allocations: 0.8228 MB / 0.8561 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00627/0.5132, allocations: 2.6 MB / 0.8587 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.5165, allocations: 1.388 MB / 0.86 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006308/0.5228, allocations: 4.399 MB / 0.8643 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.5254, allocations: 1.445 MB / 0.8657 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.529, allocations: 1.679 MB / 0.8674 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.531, allocations: 1.217 MB / 0.8686 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.5314, allocations: 164 kB / 0.8687 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.5344, allocations: 1.4 MB / 0.8701 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.5349, allocations: 398.6 kB / 0.8705 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.5362, allocations: 0.906 MB / 0.8713 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00425/0.5404, allocations: 2.869 MB / 0.8741 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5405, allocations: 4 kB / 0.8741 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5405, allocations: 0 / 0.8741 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.258e-05/0.5405, allocations: 0 / 0.8741 GB, free: 5.801 MB / 0.6387 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.004237/0.5448, allocations: 2.083 MB / 0.8762 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5448, allocations: 12.03 kB / 0.8762 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009146/0.5458, allocations: 230.8 kB / 0.8764 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.5484, allocations: 1.525 MB / 0.8779 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.5485, allocations: 78 kB / 0.878 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.5487, allocations: 100 kB / 0.8781 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.5508, allocations: 1.1 MB / 0.8791 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.5509, allocations: 0 / 0.8791 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.551, allocations: 40 kB / 0.8792 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.551, allocations: 28 kB / 0.8792 GB, free: 468 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.553, allocations: 0.8939 MB / 0.8801 GB, free: 15.56 MB / 0.6544 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.006006/0.559, allocations: 4.907 MB / 0.8849 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5605, allocations: 0.6159 MB / 0.8855 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.5613, allocations: 350.8 kB / 0.8858 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006485/0.562, allocations: 0.8277 MB / 0.8866 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.562, allocations: 43.06 kB / 0.8867 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.164e-06/0.562, allocations: 0 / 0.8867 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007788/0.5698, allocations: 1.689 MB / 0.8883 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.5699, allocations: 59.97 kB / 0.8884 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.5715, allocations: 1.23 MB / 0.8896 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.5716, allocations: 41.7 kB / 0.8896 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.5721, allocations: 0.6064 MB / 0.8902 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.5723, allocations: 213 kB / 0.8904 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.5725, allocations: 162.4 kB / 0.8906 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5726, allocations: 334 kB / 0.8909 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.5733, allocations: 292.6 kB / 0.8912 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008585/0.5742, allocations: 499.8 kB / 0.8916 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.5757, allocations: 0.7166 MB / 0.8923 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5757, allocations: 3.938 kB / 0.8923 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004969/0.5807, allocations: 1.273 MB / 0.8936 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5807, allocations: 8 kB / 0.8936 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5807, allocations: 4 kB / 0.8936 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.5813, allocations: 133.1 kB / 0.8937 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.5819, allocations: 163.7 kB / 0.8939 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008514/0.5828, allocations: 0.7085 MB / 0.8946 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009842/0.5838, allocations: 123.1 kB / 0.8947 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.5839, allocations: 31.98 kB / 0.8947 GB, free: 15.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001021/0.5849, allocations: 0.5527 MB / 0.8953 GB, free: 15.28 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008271/0.5857, allocations: 492.8 kB / 0.8957 GB, free: 14.72 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001421/0.5872, allocations: 0.709 MB / 0.8964 GB, free: 13.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.5872, allocations: 0 / 0.8964 GB, free: 13.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004957/0.5921, allocations: 1.265 MB / 0.8977 GB, free: 12.69 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.5922, allocations: 4 kB / 0.8977 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5922, allocations: 4 kB / 0.8977 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/0.5927, allocations: 141 kB / 0.8978 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.5933, allocations: 159.7 kB / 0.8979 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008047/0.5941, allocations: 0.7007 MB / 0.8986 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/0.5951, allocations: 103.4 kB / 0.8987 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.5952, allocations: 35.98 kB / 0.8988 GB, free: 11.52 MB / 0.67 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 (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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.5954, allocations: 216.1 kB / 0.899 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.5957, allocations: 134.3 kB / 0.8991 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.6006, allocations: 1.283 MB / 0.9004 GB, free: 9.867 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00444/0.605, allocations: 1.099 MB / 0.9014 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6051, allocations: 4 kB / 0.9014 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.6056, allocations: 295.2 kB / 0.9017 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.6058, allocations: 8 kB / 0.9017 GB, free: 8.418 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.6066, allocations: 59.86 kB / 0.9018 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6067, allocations: 52.44 kB / 0.9018 GB, free: 8.309 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002869/0.6096, allocations: 0.9598 MB / 0.9028 GB, free: 7.336 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002527/0.6121, allocations: 1.335 MB / 0.9041 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006906/0.6128, allocations: 328.3 kB / 0.9044 GB, free: 5.664 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001195/0.614, allocations: 0.8616 MB / 0.9052 GB, free: 4.801 MB / 0.67 GB Notification: Performance of Backend: time 3.51e-07/0.614, allocations: 0 / 0.9052 GB, free: 4.801 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003671/0.6177, allocations: 1.381 MB / 0.9066 GB, free: 3.422 MB / 0.67 GB Notification: Performance of SimCode: time 0.005474/0.6232, allocations: 3.149 MB / 0.9096 GB, free: 244 kB / 0.67 GB Notification: Performance of Templates: time 0.05142/0.6746, allocations: 33.56 MB / 0.9424 GB, free: 15.03 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)