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.006157/0.006157, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001245/0.001245, allocations: 197 kB / 16.67 MB, free: 5.949 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9764/0.9764, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.91 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4386, allocations: 80.91 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07442/0.5131, allocations: 75.19 MB / 0.7381 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.5356, allocations: 15.13 MB / 0.7528 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.5386, allocations: 67.62 kB / 0.7529 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.5411, allocations: 0.8267 MB / 0.7537 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00761/0.5488, allocations: 2.589 MB / 0.7562 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.5526, allocations: 1.391 MB / 0.7576 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006598/0.5592, allocations: 4.399 MB / 0.7619 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.5615, allocations: 1.457 MB / 0.7633 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.5656, allocations: 1.636 MB / 0.7649 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.5679, allocations: 1.214 MB / 0.7661 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.5683, allocations: 168 kB / 0.7663 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.5716, allocations: 1.4 MB / 0.7676 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.572, allocations: 406.6 kB / 0.768 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.5731, allocations: 0.9021 MB / 0.7689 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.5773, allocations: 2.886 MB / 0.7717 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5773, allocations: 0 / 0.7717 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5773, allocations: 0 / 0.7717 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.5773, allocations: 0 / 0.7717 GB, free: 3.684 MB / 0.5919 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.003726/0.5811, allocations: 2.147 MB / 0.7738 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5811, allocations: 16.03 kB / 0.7738 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008202/0.582, allocations: 235.7 kB / 0.774 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.5844, allocations: 1.541 MB / 0.7756 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.5845, allocations: 78 kB / 0.7756 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.5847, allocations: 104 kB / 0.7757 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.5867, allocations: 1.1 MB / 0.7768 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.5867, allocations: 4 kB / 0.7768 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.5868, allocations: 40 kB / 0.7768 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/0.5869, allocations: 31.92 kB / 0.7769 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.5888, allocations: 0.89 MB / 0.7777 GB, free: 13.35 MB / 0.6075 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.006451/0.5953, allocations: 4.932 MB / 0.7826 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.5968, allocations: 0.6081 MB / 0.7832 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.5976, allocations: 347.1 kB / 0.7835 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.5983, allocations: 0.8316 MB / 0.7843 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.5983, allocations: 47.11 kB / 0.7843 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.505e-06/0.5983, allocations: 0 / 0.7843 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.00726/0.6056, allocations: 1.69 MB / 0.786 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.6057, allocations: 63.95 kB / 0.7861 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.6079, allocations: 1.23 MB / 0.7873 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.608, allocations: 45.7 kB / 0.7873 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.6086, allocations: 0.6035 MB / 0.7879 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.6089, allocations: 230 kB / 0.7881 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.6092, allocations: 154.6 kB / 0.7883 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6094, allocations: 337.8 kB / 0.7886 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.6101, allocations: 292.6 kB / 0.7889 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/0.6111, allocations: 0.489 MB / 0.7893 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.6126, allocations: 0.7129 MB / 0.79 GB, free: 80 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.6126, allocations: 4 kB / 0.79 GB, free: 76 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004907/0.6175, allocations: 1.281 MB / 0.7913 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6176, allocations: 4 kB / 0.7913 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6176, allocations: 4 kB / 0.7913 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/0.6182, allocations: 137.1 kB / 0.7914 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.6189, allocations: 167.7 kB / 0.7916 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009545/0.6199, allocations: 0.7045 MB / 0.7923 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.6211, allocations: 115.3 kB / 0.7924 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.008e-05/0.6212, allocations: 35.98 kB / 0.7924 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.6224, allocations: 0.5566 MB / 0.793 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008885/0.6233, allocations: 488.7 kB / 0.7934 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001464/0.6248, allocations: 0.709 MB / 0.7941 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/0.6248, allocations: 7.984 kB / 0.7941 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00484/0.6296, allocations: 1.274 MB / 0.7954 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6296, allocations: 14.12 kB / 0.7954 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6297, allocations: 4 kB / 0.7954 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/0.6302, allocations: 141 kB / 0.7955 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.6308, allocations: 159.8 kB / 0.7957 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.6316, allocations: 0.7006 MB / 0.7964 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.6328, allocations: 99.66 kB / 0.7964 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.6329, allocations: 31.98 kB / 0.7965 GB, free: 9.262 MB / 0.6231 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.0002548/0.6331, allocations: 228 kB / 0.7967 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.6335, allocations: 139.1 kB / 0.7968 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/0.6382, allocations: 1.271 MB / 0.7981 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.6383, allocations: 15.98 kB / 0.7981 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6383, allocations: 0 / 0.7981 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004114/0.6424, allocations: 1.099 MB / 0.7992 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006694/0.6491, allocations: 2.614 MB / 0.8017 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.6491, allocations: 8.031 kB / 0.8017 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.6496, allocations: 111.8 kB / 0.8018 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005032/0.6501, allocations: 136.8 kB / 0.802 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.6502, allocations: 19.98 kB / 0.802 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/0.6554, allocations: 2.63 MB / 0.8045 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.6554, allocations: 7.938 kB / 0.8046 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/0.6607, allocations: 1.704 MB / 0.8062 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.6615, allocations: 312.1 kB / 0.8065 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.6618, allocations: 19.94 kB / 0.8065 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/0.6627, allocations: 59.92 kB / 0.8066 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.6629, allocations: 60.25 kB / 0.8066 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.663, allocations: 31.98 kB / 0.8067 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001569/0.6646, allocations: 0.8818 MB / 0.8075 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6646, allocations: 4 kB / 0.8075 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00218/0.6668, allocations: 0.7252 MB / 0.8083 GB, free: 12.79 MB / 0.6387 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.00104/0.6678, allocations: 466.7 kB / 0.8087 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002795/0.6706, allocations: 1.117 MB / 0.8098 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6706, allocations: 4 kB / 0.8098 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.6721, allocations: 0.5611 MB / 0.8103 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/0.6758, allocations: 0.8063 MB / 0.8111 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.6802, allocations: 2.305 MB / 0.8134 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/0.6812, allocations: 1.183 MB / 0.8145 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00131/0.6825, allocations: 307 kB / 0.8148 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.6829, allocations: 111.4 kB / 0.8149 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.6829, allocations: 0 / 0.8149 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of Templates: time 0.05316/0.736, allocations: 32.42 MB / 0.8466 GB, free: 5.746 MB / 0.67 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)