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.0009446/0.0009446, allocations: 98.41 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.001082/0.001082, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9557/0.9557, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 12.64 kB / 0.5082 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1623, allocations: 82.3 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.3888/0.5511, allocations: 92.19 MB / 0.6786 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03994/0.5911, allocations: 25.16 MB / 0.7032 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006731/0.5979, allocations: 118.8 kB / 0.7033 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006236/0.6041, allocations: 1.465 MB / 0.7047 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01441/0.6186, allocations: 3.738 MB / 0.7084 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.6303, allocations: 3.177 MB / 0.7115 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01815/0.6485, allocations: 10.7 MB / 0.7219 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006107/0.6547, allocations: 2.373 MB / 0.7243 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008183/0.6629, allocations: 2.675 MB / 0.7269 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004959/0.6679, allocations: 2.23 MB / 0.729 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009968/0.6689, allocations: 114.4 kB / 0.7292 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007361/0.6763, allocations: 2.256 MB / 0.7314 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.678, allocations: 0.8488 MB / 0.7322 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.6824, allocations: 1.733 MB / 0.7339 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007831/0.6903, allocations: 4.462 MB / 0.7382 GB, free: 2.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.6904, allocations: 0 / 0.7382 GB, free: 2.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.137e-06/0.6904, allocations: 3.984 kB / 0.7382 GB, free: 2.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002141/0.6906, allocations: 0 / 0.7382 GB, free: 2.844 MB / 0.545 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.008943/0.6995, allocations: 3.609 MB / 0.7418 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.6996, allocations: 15.97 kB / 0.7418 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.7038, allocations: 0.8158 MB / 0.7426 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007732/0.7116, allocations: 2.996 MB / 0.7455 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008251/0.7125, allocations: 275.9 kB / 0.7458 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006686/0.7131, allocations: 192 kB / 0.746 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.7183, allocations: 2.175 MB / 0.7481 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-05/0.7184, allocations: 7.938 kB / 0.7481 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.7186, allocations: 80 kB / 0.7482 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.7186, allocations: 47.98 kB / 0.7482 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00437/0.723, allocations: 1.794 MB / 0.75 GB, free: 6.648 MB / 0.5606 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.01732/0.7404, allocations: 9.806 MB / 0.7595 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.7431, allocations: 1.175 MB / 0.7607 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.7443, allocations: 0.5627 MB / 0.7612 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008073/0.7524, allocations: 4.585 MB / 0.7657 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.7525, allocations: 43.56 kB / 0.7658 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009007/0.7534, allocations: 118.6 kB / 0.7659 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 3.136e-06/0.7534, allocations: 0 / 0.7659 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.003574/0.757, allocations: 1.543 MB / 0.7674 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.7571, allocations: 141.5 kB / 0.7675 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/0.7627, allocations: 3.678 MB / 0.7711 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/0.763, allocations: 53.7 kB / 0.7711 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.7645, allocations: 1.625 MB / 0.7727 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.7649, allocations: 339.2 kB / 0.7731 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.7651, allocations: 153.6 kB / 0.7732 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.7652, allocations: 305.1 kB / 0.7735 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.7667, allocations: 0.5778 MB / 0.7741 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.7686, allocations: 1.261 MB / 0.7753 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.7715, allocations: 1.723 MB / 0.777 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.7715, allocations: 8 kB / 0.777 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004637/0.7761, allocations: 2.107 MB / 0.779 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004637/0.7766, allocations: 0.6615 MB / 0.7797 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.7767, allocations: 20 kB / 0.7797 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.054e-05/0.7767, allocations: 28 kB / 0.7797 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.7782, allocations: 423.3 kB / 0.7801 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.679e-05/0.7783, allocations: 43.86 kB / 0.7802 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.781, allocations: 304.7 kB / 0.7805 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.7812, allocations: 95.97 kB / 0.7806 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.7813, allocations: 8 kB / 0.7806 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003715/0.785, allocations: 1.761 MB / 0.7823 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/0.785, allocations: 20.56 kB / 0.7823 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.7851, allocations: 28 kB / 0.7823 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.7866, allocations: 431.3 kB / 0.7827 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.771e-05/0.7866, allocations: 39.86 kB / 0.7828 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.7893, allocations: 252.8 kB / 0.783 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.7895, allocations: 95.97 kB / 0.7831 GB, free: 2.781 MB / 0.5919 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 (209): * Single equations (assignments): 207 * 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.001773/0.7913, allocations: 0.8351 MB / 0.7839 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/0.792, allocations: 324 kB / 0.7842 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.7957, allocations: 1.793 MB / 0.786 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.7958, allocations: 16 kB / 0.786 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.7958, allocations: 3.938 kB / 0.786 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002093/0.7979, allocations: 1.141 MB / 0.7871 GB, free: 14.64 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 postOpt removeSimpleEquations (simulation): time 0.007514/0.8054, allocations: 4.038 MB / 0.7911 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.8054, allocations: 4 kB / 0.7911 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009716/0.8064, allocations: 219.7 kB / 0.7913 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.8064, allocations: 15.94 kB / 0.7913 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.8065, allocations: 44.03 kB / 0.7913 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/0.8065, allocations: 19.88 kB / 0.7914 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.8066, allocations: 4 kB / 0.7914 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.8107, allocations: 2.354 MB / 0.7937 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.812, allocations: 0.5981 MB / 0.7942 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/0.8124, allocations: 28 kB / 0.7943 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.8139, allocations: 167.7 kB / 0.7944 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.8142, allocations: 112.7 kB / 0.7945 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.8143, allocations: 55.95 kB / 0.7946 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003949/0.8182, allocations: 2.539 MB / 0.7971 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8182, allocations: 0 / 0.7971 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004161/0.8224, allocations: 1.462 MB / 0.7985 GB, free: 2.777 MB / 0.6075 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 (121): * Single equations (assignments): 109 * 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.002117/0.8245, allocations: 0.9314 MB / 0.7994 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005158/0.8297, allocations: 2.359 MB / 0.8017 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8297, allocations: 384 / 0.8017 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.8311, allocations: 0.6901 MB / 0.8024 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/0.8412, allocations: 1.406 MB / 0.8038 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.8524, allocations: 6.973 MB / 0.8106 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.8542, allocations: 1.994 MB / 0.8125 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.8553, allocations: 259.4 kB / 0.8128 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/0.8553, allocations: 0 / 0.8128 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of Templates: time 0.08033/0.9356, allocations: 51.75 MB / 0.8633 GB, free: 0.7852 MB / 0.67 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)