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.001535/0.001535, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001761/0.001761, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 296.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 87.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4153, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Examples.Carnot_y): time 0.06784/0.4832, allocations: 75.17 MB / 0.8405 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.5024, allocations: 15.15 MB / 0.8553 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.5046, allocations: 71.56 kB / 0.8553 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.5067, allocations: 0.8463 MB / 0.8561 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.5131, allocations: 2.733 MB / 0.8588 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.5163, allocations: 1.396 MB / 0.8602 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004939/0.5213, allocations: 4.4 MB / 0.8645 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.5232, allocations: 1.453 MB / 0.8659 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.5265, allocations: 1.675 MB / 0.8675 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.5285, allocations: 1.22 MB / 0.8687 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003527/0.5288, allocations: 164 kB / 0.8689 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.5318, allocations: 1.408 MB / 0.8703 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.5323, allocations: 402.6 kB / 0.8706 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.5336, allocations: 0.8905 MB / 0.8715 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.5376, allocations: 2.885 MB / 0.8743 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5376, allocations: 0 / 0.8743 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5376, allocations: 0 / 0.8743 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.319e-05/0.5377, allocations: 0 / 0.8743 GB, free: 5.715 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.004162/0.5418, allocations: 2.083 MB / 0.8764 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5419, allocations: 12.03 kB / 0.8764 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.5427, allocations: 230.8 kB / 0.8766 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.5453, allocations: 1.521 MB / 0.8781 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.5454, allocations: 81.98 kB / 0.8782 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5456, allocations: 100 kB / 0.8782 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.5476, allocations: 1.1 MB / 0.8793 GB, free: 448 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.5477, allocations: 3.938 kB / 0.8793 GB, free: 444 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5478, allocations: 40 kB / 0.8794 GB, free: 404 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.5478, allocations: 24 kB / 0.8794 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.5505, allocations: 0.8978 MB / 0.8803 GB, free: 15.46 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.009339/0.5599, allocations: 4.903 MB / 0.8851 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.5621, allocations: 0.6197 MB / 0.8857 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.5633, allocations: 342.8 kB / 0.886 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008886/0.5642, allocations: 0.8316 MB / 0.8868 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.5643, allocations: 39.12 kB / 0.8868 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 4.268e-06/0.5643, allocations: 0 / 0.8868 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.01099/0.5753, allocations: 1.689 MB / 0.8885 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5754, allocations: 59.97 kB / 0.8885 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.5782, allocations: 1.234 MB / 0.8897 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.5783, allocations: 41.7 kB / 0.8898 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.5791, allocations: 0.6065 MB / 0.8904 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.5794, allocations: 205 kB / 0.8906 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.5798, allocations: 170.4 kB / 0.8907 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.58, allocations: 329.9 kB / 0.891 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.581, allocations: 292.7 kB / 0.8913 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.5824, allocations: 0.4952 MB / 0.8918 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.5847, allocations: 0.7128 MB / 0.8925 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5848, allocations: 3.938 kB / 0.8925 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00747/0.5922, allocations: 1.277 MB / 0.8938 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.5923, allocations: 8 kB / 0.8938 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.5923, allocations: 4 kB / 0.8938 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008728/0.5932, allocations: 133.1 kB / 0.8939 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.5941, allocations: 159.8 kB / 0.894 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.5954, allocations: 0.7083 MB / 0.8947 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.597, allocations: 119 kB / 0.8949 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5972, allocations: 31.98 kB / 0.8949 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001719/0.5989, allocations: 0.5527 MB / 0.8954 GB, free: 15.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001288/0.6002, allocations: 496.7 kB / 0.8959 GB, free: 14.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001937/0.6022, allocations: 0.7051 MB / 0.8966 GB, free: 13.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.6022, allocations: 0 / 0.8966 GB, free: 13.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.006695/0.6089, allocations: 1.269 MB / 0.8978 GB, free: 12.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6089, allocations: 8 kB / 0.8978 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6089, allocations: 0 / 0.8978 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007795/0.6097, allocations: 137.1 kB / 0.898 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.6107, allocations: 163.7 kB / 0.8981 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.612, allocations: 0.7007 MB / 0.8988 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.6138, allocations: 103.4 kB / 0.8989 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.6139, allocations: 35.98 kB / 0.8989 GB, free: 11.44 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.0003407/0.6142, allocations: 224 kB / 0.8992 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/0.6147, allocations: 130.4 kB / 0.8993 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007499/0.6223, allocations: 1.267 MB / 0.9005 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005975/0.6283, allocations: 1.111 MB / 0.9016 GB, free: 8.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.6283, allocations: 0 / 0.9016 GB, free: 8.656 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.629, allocations: 299.2 kB / 0.9019 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.6293, allocations: 12 kB / 0.9019 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.6302, allocations: 59.8 kB / 0.902 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.6304, allocations: 48.5 kB / 0.902 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002946/0.6333, allocations: 0.9599 MB / 0.9029 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002573/0.6359, allocations: 1.336 MB / 0.9042 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006923/0.6366, allocations: 324.3 kB / 0.9045 GB, free: 5.586 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001276/0.6379, allocations: 0.8616 MB / 0.9054 GB, free: 4.723 MB / 0.67 GB Notification: Performance of Backend: time 3.71e-07/0.6379, allocations: 0 / 0.9054 GB, free: 4.723 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.6416, allocations: 1.38 MB / 0.9067 GB, free: 3.344 MB / 0.67 GB Notification: Performance of SimCode: time 0.005494/0.6471, allocations: 3.147 MB / 0.9098 GB, free: 172 kB / 0.67 GB Notification: Performance of Templates: time 0.05155/0.6987, allocations: 33.58 MB / 0.9426 GB, free: 14.95 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)