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.001493/0.001496, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001735/0.001735, allocations: 191.5 kB / 16.14 MB, free: 6.699 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.964/0.964, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.59 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 80.93 MB / 0.5837 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3598/0.531, allocations: 74.69 MB / 0.6567 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.5523, allocations: 15.19 MB / 0.6715 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004075/0.5564, allocations: 64.97 kB / 0.6716 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.5593, allocations: 0.6753 MB / 0.6722 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008739/0.5681, allocations: 2.386 MB / 0.6745 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.5723, allocations: 1.261 MB / 0.6758 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.5832, allocations: 5.562 MB / 0.6812 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.5862, allocations: 1.203 MB / 0.6824 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/0.5905, allocations: 1.362 MB / 0.6837 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.5943, allocations: 1.209 MB / 0.6849 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005989/0.5949, allocations: 73.44 kB / 0.685 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.5997, allocations: 1.26 MB / 0.6862 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005166/0.6003, allocations: 315.9 kB / 0.6865 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.6019, allocations: 0.808 MB / 0.6873 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00548/0.6074, allocations: 2.782 MB / 0.69 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6075, allocations: 1.125 kB / 0.69 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6075, allocations: 0 / 0.69 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.29e-05/0.6075, allocations: 0 / 0.69 GB, free: 4.008 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.005331/0.6129, allocations: 2.093 MB / 0.692 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.6129, allocations: 9.156 kB / 0.692 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/0.6139, allocations: 227.8 kB / 0.6923 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.6168, allocations: 1.509 MB / 0.6937 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.6169, allocations: 80.2 kB / 0.6938 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.6171, allocations: 100.3 kB / 0.6939 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.6197, allocations: 1.096 MB / 0.695 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.6198, allocations: 1.125 kB / 0.695 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.6199, allocations: 41.31 kB / 0.695 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.62, allocations: 32.73 kB / 0.6951 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.6223, allocations: 0.8876 MB / 0.6959 GB, free: 0.7148 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.00746/0.6298, allocations: 4.9 MB / 0.7007 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.6313, allocations: 0.6185 MB / 0.7013 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007319/0.632, allocations: 351 kB / 0.7016 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.6327, allocations: 0.8285 MB / 0.7025 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.6327, allocations: 42.75 kB / 0.7025 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/0.6327, allocations: 0 / 0.7025 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007462/0.6402, allocations: 1.696 MB / 0.7042 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.6403, allocations: 57.53 kB / 0.7042 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.6422, allocations: 1.214 MB / 0.7054 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.6423, allocations: 39.08 kB / 0.7054 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/0.6428, allocations: 0.6106 MB / 0.706 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.6431, allocations: 216 kB / 0.7062 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.6433, allocations: 155.6 kB / 0.7064 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6435, allocations: 337.3 kB / 0.7067 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.6441, allocations: 287.5 kB / 0.707 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.645, allocations: 496.1 kB / 0.7074 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.6464, allocations: 0.7134 MB / 0.7081 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6464, allocations: 1.281 kB / 0.7081 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004852/0.6513, allocations: 1.273 MB / 0.7094 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.6513, allocations: 6.812 kB / 0.7094 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6513, allocations: 3.281 kB / 0.7094 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.652, allocations: 135.4 kB / 0.7095 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.6526, allocations: 158.8 kB / 0.7097 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008043/0.6534, allocations: 0.7054 MB / 0.7104 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.6548, allocations: 167.1 kB / 0.7105 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.6549, allocations: 31.28 kB / 0.7106 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001191/0.6561, allocations: 0.5502 MB / 0.7111 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008889/0.657, allocations: 0.491 MB / 0.7116 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.6584, allocations: 0.701 MB / 0.7123 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.6584, allocations: 0 / 0.7123 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004741/0.6631, allocations: 1.272 MB / 0.7135 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6632, allocations: 10.81 kB / 0.7135 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6632, allocations: 4.125 kB / 0.7135 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.6637, allocations: 144.1 kB / 0.7137 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.6643, allocations: 155.2 kB / 0.7138 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007752/0.6651, allocations: 0.701 MB / 0.7145 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.6666, allocations: 138.5 kB / 0.7146 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.6667, allocations: 35.64 kB / 0.7147 GB, free: 4.641 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.0003144/0.667, allocations: 219.9 kB / 0.7149 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.6673, allocations: 131.2 kB / 0.715 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/0.6717, allocations: 1.276 MB / 0.7162 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.6718, allocations: 5.438 kB / 0.7162 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.6718, allocations: 0 / 0.7162 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004106/0.6759, allocations: 1.106 MB / 0.7173 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007464/0.6834, allocations: 2.605 MB / 0.7199 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6834, allocations: 8.031 kB / 0.7199 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.6839, allocations: 111.8 kB / 0.72 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.6844, allocations: 132.7 kB / 0.7201 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.6844, allocations: 16 kB / 0.7201 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004881/0.6893, allocations: 2.386 MB / 0.7224 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6893, allocations: 4 kB / 0.7225 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/0.6948, allocations: 1.707 MB / 0.7241 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/0.6957, allocations: 299.2 kB / 0.7244 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.696, allocations: 20 kB / 0.7244 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/0.6969, allocations: 83.81 kB / 0.7245 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.697, allocations: 64.23 kB / 0.7246 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.6971, allocations: 35.98 kB / 0.7246 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001409/0.6985, allocations: 0.8701 MB / 0.7255 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6985, allocations: 0 / 0.7255 GB, free: 11.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002319/0.7009, allocations: 0.7135 MB / 0.7261 GB, free: 10.3 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.001133/0.702, allocations: 441.9 kB / 0.7266 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00261/0.7046, allocations: 1.113 MB / 0.7277 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7046, allocations: 0 / 0.7277 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.7061, allocations: 0.5648 MB / 0.7282 GB, free: 8.188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.7096, allocations: 0.757 MB / 0.7289 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.714, allocations: 2.756 MB / 0.7316 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/0.7148, allocations: 1.179 MB / 0.7328 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001383/0.7162, allocations: 307 kB / 0.7331 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.7164, allocations: 103.4 kB / 0.7332 GB, free: 3.008 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.7164, allocations: 0 / 0.7332 GB, free: 3.008 MB / 0.545 GB Notification: Performance of Templates: time 0.05577/0.7722, allocations: 30.49 MB / 0.763 GB, free: 4.875 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)