Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001597/0.001597, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001477/0.001477, allocations: 183 kB / 17.34 MB, free: 5.766 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7824/0.7824, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.7 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1508, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07189/0.2228, allocations: 75.17 MB / 0.7337 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4013/0.6241, allocations: 15.13 MB / 0.7485 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.627, allocations: 67.5 kB / 0.7486 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.6297, allocations: 0.833 MB / 0.7494 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007905/0.6377, allocations: 2.579 MB / 0.7519 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.6418, allocations: 1.391 MB / 0.7533 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008238/0.65, allocations: 4.396 MB / 0.7576 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.6532, allocations: 1.457 MB / 0.759 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005803/0.659, allocations: 1.678 MB / 0.7606 GB, free: 25.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004107/0.6631, allocations: 1.212 MB / 0.7618 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.6638, allocations: 162.5 kB / 0.762 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005029/0.6689, allocations: 1.408 MB / 0.7633 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006332/0.6695, allocations: 401.7 kB / 0.7637 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.6714, allocations: 0.9075 MB / 0.7646 GB, free: 25.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006051/0.6775, allocations: 2.88 MB / 0.7674 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6775, allocations: 0 / 0.7674 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6775, allocations: 4.656 kB / 0.7674 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.739e-05/0.6776, allocations: 0 / 0.7674 GB, free: 24.79 MB / 0.5762 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.00529/0.6829, allocations: 2.087 MB / 0.7695 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6829, allocations: 9.062 kB / 0.7695 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.6839, allocations: 232.4 kB / 0.7697 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.6868, allocations: 1.526 MB / 0.7712 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.6869, allocations: 78.36 kB / 0.7713 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.687, allocations: 102.6 kB / 0.7714 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.6891, allocations: 1.101 MB / 0.7724 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.6892, allocations: 1.125 kB / 0.7724 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.6893, allocations: 40.84 kB / 0.7725 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.6893, allocations: 28.59 kB / 0.7725 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.6912, allocations: 0.8922 MB / 0.7734 GB, free: 23.07 MB / 0.5762 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.006226/0.6975, allocations: 4.912 MB / 0.7782 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.6989, allocations: 0.6147 MB / 0.7788 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/0.6996, allocations: 353.7 kB / 0.7791 GB, free: 20.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.7001, allocations: 0.826 MB / 0.7799 GB, free: 19.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.7001, allocations: 42.39 kB / 0.7799 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.587e-06/0.7002, allocations: 1.375 kB / 0.78 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007465/0.7076, allocations: 1.693 MB / 0.7816 GB, free: 19.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.7077, allocations: 60.98 kB / 0.7817 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.7097, allocations: 1.233 MB / 0.7829 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.7099, allocations: 40.33 kB / 0.7829 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.7103, allocations: 0.6068 MB / 0.7835 GB, free: 18.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.7105, allocations: 212.4 kB / 0.7837 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.7108, allocations: 152.4 kB / 0.7838 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.7109, allocations: 340.7 kB / 0.7842 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.7116, allocations: 286.2 kB / 0.7844 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.7124, allocations: 0.4884 MB / 0.7849 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.7137, allocations: 0.7191 MB / 0.7856 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.7137, allocations: 6.906 kB / 0.7856 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004987/0.7187, allocations: 1.263 MB / 0.7869 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.7188, allocations: 8.312 kB / 0.7869 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7188, allocations: 8.25 kB / 0.7869 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.7195, allocations: 135.9 kB / 0.787 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.7201, allocations: 160.4 kB / 0.7872 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007656/0.7209, allocations: 0.7045 MB / 0.7878 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.7224, allocations: 117.4 kB / 0.788 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.7225, allocations: 41.64 kB / 0.788 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001258/0.7238, allocations: 0.5464 MB / 0.7885 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007857/0.7246, allocations: 0.4893 MB / 0.789 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001307/0.7259, allocations: 0.7016 MB / 0.7897 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.7259, allocations: 0.5938 kB / 0.7897 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004817/0.7307, allocations: 1.268 MB / 0.7909 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7308, allocations: 5.25 kB / 0.7909 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7308, allocations: 5.438 kB / 0.7909 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.7313, allocations: 144.9 kB / 0.7911 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.7319, allocations: 156.6 kB / 0.7912 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006919/0.7326, allocations: 0.702 MB / 0.7919 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.7341, allocations: 96.48 kB / 0.792 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7342, allocations: 45.02 kB / 0.7921 GB, free: 13.84 MB / 0.5762 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.0002632/0.7345, allocations: 231.9 kB / 0.7923 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.7349, allocations: 135.5 kB / 0.7924 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/0.7396, allocations: 1.265 MB / 0.7936 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.7397, allocations: 13.38 kB / 0.7937 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.7397, allocations: 0 / 0.7937 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004041/0.7437, allocations: 1.096 MB / 0.7947 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007286/0.7511, allocations: 2.623 MB / 0.7973 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.7511, allocations: 4.594 kB / 0.7973 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.7516, allocations: 112.2 kB / 0.7974 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/0.7521, allocations: 128.8 kB / 0.7975 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-05/0.7522, allocations: 25.08 kB / 0.7975 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/0.7569, allocations: 2.637 MB / 0.8001 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.757, allocations: 2.656 kB / 0.8001 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.7625, allocations: 1.699 MB / 0.8018 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/0.7634, allocations: 316.4 kB / 0.8021 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/0.7639, allocations: 15.66 kB / 0.8021 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7651, allocations: 51.47 kB / 0.8021 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7652, allocations: 62.45 kB / 0.8022 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/0.7653, allocations: 34.95 kB / 0.8022 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001501/0.7668, allocations: 0.8827 MB / 0.8031 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7668, allocations: 3.094 kB / 0.8031 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002745/0.7696, allocations: 0.7206 MB / 0.8038 GB, free: 6.172 MB / 0.5762 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.001099/0.7707, allocations: 459.3 kB / 0.8042 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.7734, allocations: 1.12 MB / 0.8053 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7734, allocations: 2.812 kB / 0.8053 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.7748, allocations: 0.5591 MB / 0.8059 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.7791, allocations: 0.7971 MB / 0.8067 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.783, allocations: 2.308 MB / 0.8089 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.7838, allocations: 1.172 MB / 0.8101 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.7842, allocations: 110.3 kB / 0.8102 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.7842, allocations: 0 / 0.8102 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of Templates: time 0.04411/0.8283, allocations: 31.31 MB / 0.8407 GB, free: 1.465 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)