Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008897/0.0008897, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009586/0.0009586, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8585/0.8585, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 82.32 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.3028/0.4459, allocations: 78.73 MB / 0.6641 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02965/0.4756, allocations: 22 MB / 0.6856 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004236/0.4798, allocations: 109.9 kB / 0.6857 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005132/0.485, allocations: 1.438 MB / 0.6871 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.4984, allocations: 4.087 MB / 0.6911 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.5088, allocations: 3.315 MB / 0.6943 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.5204, allocations: 4.822 MB / 0.699 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004289/0.5248, allocations: 2.144 MB / 0.7011 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006252/0.531, allocations: 2.246 MB / 0.7033 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/0.535, allocations: 1.506 MB / 0.7048 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007078/0.5358, allocations: 115.9 kB / 0.7049 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00575/0.5415, allocations: 1.695 MB / 0.7065 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.5426, allocations: 0.7795 MB / 0.7073 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.5441, allocations: 0.7241 MB / 0.708 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006646/0.5508, allocations: 4.317 MB / 0.7122 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5508, allocations: 0 / 0.7122 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5508, allocations: 0 / 0.7122 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001058/0.5509, allocations: 0 / 0.7122 GB, free: 7.457 MB / 0.5294 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.00709/0.558, allocations: 3.646 MB / 0.7158 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5581, allocations: 9.625 kB / 0.7158 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.5614, allocations: 0.8155 MB / 0.7166 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.5662, allocations: 2.761 MB / 0.7193 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006662/0.5669, allocations: 287.6 kB / 0.7196 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.5672, allocations: 198.7 kB / 0.7198 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.5709, allocations: 2.171 MB / 0.7219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.571, allocations: 2.812 kB / 0.7219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.5711, allocations: 77.94 kB / 0.722 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.5712, allocations: 42.94 kB / 0.722 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003968/0.5751, allocations: 1.829 MB / 0.7238 GB, free: 0 / 0.5294 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.5912, allocations: 9.995 MB / 0.7335 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.5939, allocations: 1.25 MB / 0.7348 GB, free: 4.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005759/0.5997, allocations: 4.235 MB / 0.7389 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.5997, allocations: 43.56 kB / 0.7389 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007992/0.6005, allocations: 134.3 kB / 0.7391 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=99): time 2.545e-06/0.6005, allocations: 0 / 0.7391 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99): time 0.003859/0.6044, allocations: 1.734 MB / 0.7408 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.6045, allocations: 141.5 kB / 0.7409 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004836/0.6093, allocations: 3.9 MB / 0.7447 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.6095, allocations: 53.7 kB / 0.7448 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.6107, allocations: 1.561 MB / 0.7463 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.6111, allocations: 351 kB / 0.7466 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.6111, allocations: 32 kB / 0.7466 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6113, allocations: 369.9 kB / 0.747 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.6128, allocations: 0.6207 MB / 0.7476 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.6147, allocations: 1.16 MB / 0.7487 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.6164, allocations: 0.7285 MB / 0.7494 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6164, allocations: 4 kB / 0.7495 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004383/0.6208, allocations: 2.09 MB / 0.7515 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.002044/0.6229, allocations: 5.971 MB / 0.7573 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.6229, allocations: 12 kB / 0.7573 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.6229, allocations: 27.95 kB / 0.7574 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.6245, allocations: 431.3 kB / 0.7578 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/0.6245, allocations: 27.92 kB / 0.7578 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.6274, allocations: 316.8 kB / 0.7581 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.6276, allocations: 87.95 kB / 0.7582 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/0.6276, allocations: 4 kB / 0.7582 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003338/0.6309, allocations: 1.643 MB / 0.7598 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/0.631, allocations: 16 kB / 0.7598 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.631, allocations: 20 kB / 0.7598 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.6324, allocations: 407.9 kB / 0.7602 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/0.6324, allocations: 27.92 kB / 0.7602 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.6348, allocations: 256.9 kB / 0.7605 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.635, allocations: 83.97 kB / 0.7606 GB, free: 8.785 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.heatPump.hysteresis.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis1.y,heatPump.on_security.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001502/0.6365, allocations: 0.8189 MB / 0.7614 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005782/0.6371, allocations: 335.8 kB / 0.7617 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.6412, allocations: 2.005 MB / 0.7636 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/0.6413, allocations: 19.98 kB / 0.7637 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6413, allocations: 0 / 0.7637 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002489/0.6438, allocations: 1.248 MB / 0.7649 GB, free: 4.305 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 postOpt removeSimpleEquations (simulation): time 0.008186/0.652, allocations: 4.348 MB / 0.7691 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.652, allocations: 4 kB / 0.7691 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.6531, allocations: 248.2 kB / 0.7694 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.6531, allocations: 8 kB / 0.7694 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.6532, allocations: 39.95 kB / 0.7694 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.6532, allocations: 12 kB / 0.7694 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.6532, allocations: 7.938 kB / 0.7694 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.658, allocations: 2.958 MB / 0.7723 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.6595, allocations: 0.6565 MB / 0.773 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007365/0.6603, allocations: 31.98 kB / 0.773 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/0.6625, allocations: 203.8 kB / 0.7732 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.6627, allocations: 108.7 kB / 0.7733 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.6629, allocations: 55.95 kB / 0.7733 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004348/0.6672, allocations: 2.747 MB / 0.776 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6672, allocations: 0 / 0.776 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004785/0.672, allocations: 1.47 MB / 0.7775 GB, free: 7.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.hysteresis1.y,heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002421/0.6744, allocations: 0.9455 MB / 0.7784 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005306/0.6798, allocations: 2.347 MB / 0.7807 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.6798, allocations: 0 / 0.7807 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.6813, allocations: 0.7059 MB / 0.7814 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006734/0.6881, allocations: 1.525 MB / 0.7829 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6982, allocations: 6.585 MB / 0.7893 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/0.7003, allocations: 2.068 MB / 0.7913 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003215/0.7035, allocations: 0.7315 MB / 0.792 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/0.7043, allocations: 263.2 kB / 0.7923 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/0.7043, allocations: 4 kB / 0.7923 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.08899/0.7933, allocations: 59.47 MB / 0.8504 GB, free: 13.12 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1) Environment - environmentSimulation: