Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.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.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, 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.001325/0.001326, allocations: 187 kB / 17.34 MB, free: 5.762 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7764/0.7764, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 62.69 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 80.93 MB / 0.6653 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.4256/0.5696, allocations: 94.55 MB / 0.7576 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03257/0.6022, allocations: 25.37 MB / 0.7824 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005428/0.6077, allocations: 135 kB / 0.7825 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.613, allocations: 1.721 MB / 0.7842 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.6246, allocations: 4.009 MB / 0.7881 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00907/0.6337, allocations: 3.538 MB / 0.7916 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.6455, allocations: 8.185 MB / 0.7996 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/0.6505, allocations: 2.863 MB / 0.8024 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00787/0.6584, allocations: 3.279 MB / 0.8056 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.6624, allocations: 2.296 MB / 0.8078 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.6635, allocations: 305.2 kB / 0.8081 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006464/0.6699, allocations: 2.414 MB / 0.8105 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.6715, allocations: 1.043 MB / 0.8115 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003797/0.6753, allocations: 1.937 MB / 0.8134 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.6861, allocations: 5.982 MB / 0.8192 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6862, allocations: 3.938 kB / 0.8192 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6862, allocations: 2.125 kB / 0.8192 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002004/0.6864, allocations: 0 / 0.8192 GB, free: 9.547 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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.0113/0.6977, allocations: 4.254 MB / 0.8234 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.6978, allocations: 9.141 kB / 0.8234 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/0.702, allocations: 0.7704 MB / 0.8241 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00641/0.7084, allocations: 2.987 MB / 0.8271 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.7086, allocations: 151.6 kB / 0.8272 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.7089, allocations: 196 kB / 0.8274 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.713, allocations: 2.143 MB / 0.8295 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.713, allocations: 4 kB / 0.8295 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.7132, allocations: 79.94 kB / 0.8296 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.7132, allocations: 48 kB / 0.8296 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/0.717, allocations: 1.714 MB / 0.8313 GB, free: 15.56 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.01606/0.7331, allocations: 9.832 MB / 0.8409 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.7354, allocations: 1.109 MB / 0.842 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.7365, allocations: 0.5315 MB / 0.8425 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007304/0.7438, allocations: 4.53 MB / 0.8469 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.7439, allocations: 47.55 kB / 0.847 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 3.206e-06/0.7439, allocations: 0 / 0.847 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.003599/0.7475, allocations: 1.484 MB / 0.8484 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.7477, allocations: 137.5 kB / 0.8485 GB, free: 13 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/0.7529, allocations: 3.709 MB / 0.8522 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.7531, allocations: 49.7 kB / 0.8522 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.7544, allocations: 1.62 MB / 0.8538 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.7548, allocations: 336.6 kB / 0.8541 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.7553, allocations: 351.2 kB / 0.8544 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.7554, allocations: 305.1 kB / 0.8547 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.7566, allocations: 0.5552 MB / 0.8553 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.7583, allocations: 1.224 MB / 0.8565 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.761, allocations: 1.665 MB / 0.8581 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.761, allocations: 7.938 kB / 0.8581 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.0044/0.7654, allocations: 2.025 MB / 0.8601 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.7654, allocations: 12 kB / 0.8601 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.7655, allocations: 24 kB / 0.8601 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/0.7655, allocations: 28 kB / 0.8601 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.7668, allocations: 411.4 kB / 0.8605 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.361e-05/0.7669, allocations: 43.8 kB / 0.8606 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.7692, allocations: 303 kB / 0.8609 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.7694, allocations: 89.53 kB / 0.861 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00224/0.7716, allocations: 1.191 MB / 0.8621 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00162/0.7733, allocations: 1.22 MB / 0.8633 GB, free: 13 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002465/0.7757, allocations: 1.653 MB / 0.8649 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.398e-06/0.7758, allocations: 8 kB / 0.8649 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.004256/0.78, allocations: 2.017 MB / 0.8669 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.7801, allocations: 15.94 kB / 0.8669 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.7801, allocations: 20 kB / 0.8669 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.7801, allocations: 28 kB / 0.867 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.7814, allocations: 408 kB / 0.8673 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/0.7815, allocations: 39.86 kB / 0.8674 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.7838, allocations: 252 kB / 0.8676 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.784, allocations: 91.97 kB / 0.8677 GB, free: 8.207 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 7 (heatPump.hysteresisTSetLimit.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.on_security.y,heatPump.hysteresis1.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 205 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.7844, allocations: 295.6 kB / 0.868 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/0.7849, allocations: 327.8 kB / 0.8683 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/0.7883, allocations: 1.753 MB / 0.87 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.7883, allocations: 19.98 kB / 0.87 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7883, allocations: 0 / 0.87 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001982/0.7903, allocations: 1.098 MB / 0.8711 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006587/0.7969, allocations: 3.966 MB / 0.875 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.7969, allocations: 7.938 kB / 0.875 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.7978, allocations: 227.6 kB / 0.8752 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.7978, allocations: 19.88 kB / 0.8752 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.7979, allocations: 36.05 kB / 0.8753 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/0.7979, allocations: 19.98 kB / 0.8753 GB, free: 312 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.798, allocations: 7.938 kB / 0.8753 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/0.8018, allocations: 2.311 MB / 0.8775 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.8031, allocations: 0.5824 MB / 0.8781 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.8035, allocations: 40 kB / 0.8782 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.8048, allocations: 103.9 kB / 0.8783 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.805, allocations: 104.8 kB / 0.8784 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.8051, allocations: 59.95 kB / 0.8784 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003482/0.8086, allocations: 2.551 MB / 0.8809 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8086, allocations: 4 kB / 0.8809 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003975/0.8126, allocations: 1.48 MB / 0.8823 GB, free: 8.969 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,TBrine_out.T,TWater_out.T) * Number of discrete variables: 4 (heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 3 (heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y,heatPump.hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/0.8147, allocations: 0.9475 MB / 0.8833 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004698/0.8194, allocations: 2.281 MB / 0.8855 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.8194, allocations: 4 kB / 0.8855 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.8207, allocations: 0.6824 MB / 0.8862 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006127/0.8268, allocations: 1.442 MB / 0.8876 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.835, allocations: 5.719 MB / 0.8932 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.8364, allocations: 2.001 MB / 0.8951 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008682/0.8373, allocations: 255.3 kB / 0.8954 GB, free: 11.73 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/0.8373, allocations: 0 / 0.8954 GB, free: 11.73 MB / 0.67 GB Notification: Performance of Templates: time 0.0722/0.9095, allocations: 53.65 MB / 0.9478 GB, free: 6.352 MB / 0.7169 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1)