Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009836/0.0009836, allocations: 98.56 kB / 16.02 MB, free: 76 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.001176/0.001176, allocations: 186.8 kB / 16.92 MB, free: 6.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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9293/0.9293, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003457, allocations: 8 kB / 0.5082 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 82.31 MB / 0.5886 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3446/0.5016, allocations: 73.42 MB / 0.6603 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.5192, allocations: 15.02 MB / 0.675 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.5218, allocations: 56 kB / 0.675 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.5242, allocations: 0.6738 MB / 0.6757 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.5314, allocations: 2.38 MB / 0.678 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.5353, allocations: 1.266 MB / 0.6793 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008736/0.544, allocations: 5.565 MB / 0.6847 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.5466, allocations: 1.158 MB / 0.6858 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.5502, allocations: 1.334 MB / 0.6871 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.5529, allocations: 1.146 MB / 0.6882 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.5532, allocations: 55.97 kB / 0.6883 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.5566, allocations: 1.242 MB / 0.6895 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.5571, allocations: 284.2 kB / 0.6898 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.5584, allocations: 0.8048 MB / 0.6906 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.5621, allocations: 2.152 MB / 0.6927 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5621, allocations: 1.031 kB / 0.6927 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5621, allocations: 0.7969 kB / 0.6927 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.287e-05/0.5622, allocations: 0 / 0.6927 GB, free: 4.738 MB / 0.5137 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.004317/0.5665, allocations: 1.789 MB / 0.6944 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5666, allocations: 9.594 kB / 0.6944 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5676, allocations: 245.8 kB / 0.6947 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.5707, allocations: 1.507 MB / 0.6961 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.5708, allocations: 73.25 kB / 0.6962 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.5709, allocations: 108.1 kB / 0.6963 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.5734, allocations: 1.12 MB / 0.6974 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.5734, allocations: 1.156 kB / 0.6974 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.5735, allocations: 41.38 kB / 0.6974 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.5736, allocations: 25.42 kB / 0.6975 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.5758, allocations: 0.9307 MB / 0.6984 GB, free: 1.637 MB / 0.5137 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.007333/0.5831, allocations: 4.915 MB / 0.7032 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.5846, allocations: 0.639 MB / 0.7038 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007727/0.5854, allocations: 369.6 kB / 0.7042 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/0.5861, allocations: 0.8283 MB / 0.705 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.5861, allocations: 50.39 kB / 0.705 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.365e-06/0.5861, allocations: 1.25 kB / 0.705 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007822/0.594, allocations: 1.892 MB / 0.7069 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5941, allocations: 62.03 kB / 0.7069 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.596, allocations: 1.218 MB / 0.7081 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.5962, allocations: 42.11 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.5967, allocations: 0.6041 MB / 0.7087 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.597, allocations: 211.6 kB / 0.7089 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.5971, allocations: 64.16 kB / 0.709 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5972, allocations: 335.5 kB / 0.7093 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007375/0.598, allocations: 306.7 kB / 0.7096 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008892/0.5989, allocations: 0.5111 MB / 0.7101 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.6004, allocations: 0.7529 MB / 0.7108 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6004, allocations: 0.9688 kB / 0.7108 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005218/0.6056, allocations: 1.403 MB / 0.7122 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.6058, allocations: 200 kB / 0.7124 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6058, allocations: 4.469 kB / 0.7124 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/0.6065, allocations: 145.9 kB / 0.7126 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.6072, allocations: 160.9 kB / 0.7127 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009007/0.6081, allocations: 0.7283 MB / 0.7134 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.6097, allocations: 175.5 kB / 0.7136 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.6099, allocations: 27.09 kB / 0.7136 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.6099, allocations: 2.781 kB / 0.7136 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004829/0.6147, allocations: 1.256 MB / 0.7148 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6147, allocations: 3.125 kB / 0.7148 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.6153, allocations: 150.9 kB / 0.715 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.616, allocations: 167.6 kB / 0.7151 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000867/0.6169, allocations: 0.7109 MB / 0.7158 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.6184, allocations: 165.6 kB / 0.716 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/0.6185, allocations: 30.94 kB / 0.716 GB, free: 6.48 MB / 0.5294 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.0008171/0.6193, allocations: 419.2 kB / 0.7164 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.6197, allocations: 140 kB / 0.7166 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.6247, allocations: 1.404 MB / 0.7179 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.6248, allocations: 12.59 kB / 0.7179 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6248, allocations: 0 / 0.7179 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00443/0.6292, allocations: 1.24 MB / 0.7192 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/0.6368, allocations: 2.739 MB / 0.7218 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.6368, allocations: 3.344 kB / 0.7218 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.6374, allocations: 122 kB / 0.722 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/0.6379, allocations: 136.7 kB / 0.7221 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.638, allocations: 19.98 kB / 0.7221 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/0.6432, allocations: 2.49 MB / 0.7245 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-05/0.6433, allocations: 4.047 kB / 0.7245 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/0.6495, allocations: 1.848 MB / 0.7263 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.6505, allocations: 343 kB / 0.7267 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/0.651, allocations: 12 kB / 0.7267 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6524, allocations: 99.31 kB / 0.7268 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.6526, allocations: 60.25 kB / 0.7268 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/0.6527, allocations: 35.97 kB / 0.7269 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001651/0.6543, allocations: 0.8662 MB / 0.7277 GB, free: 12.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6543, allocations: 0 / 0.7277 GB, free: 12.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003368/0.6577, allocations: 0.7096 MB / 0.7284 GB, free: 11.95 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 (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 Backend phase and start with SimCode phase: time 0.001537/0.6593, allocations: 445.6 kB / 0.7288 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.6624, allocations: 1.172 MB / 0.73 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.6624, allocations: 0 / 0.73 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.6641, allocations: 0.5995 MB / 0.7306 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/0.6693, allocations: 0.7998 MB / 0.7313 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.6747, allocations: 2.856 MB / 0.7341 GB, free: 6.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.6759, allocations: 1.165 MB / 0.7353 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/0.6764, allocations: 119.4 kB / 0.7354 GB, free: 4.707 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.6764, allocations: 0 / 0.7354 GB, free: 4.707 MB / 0.545 GB Notification: Performance of Templates: time 0.04289/0.7193, allocations: 30.73 MB / 0.7654 GB, free: 6.16 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)