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.001034/0.001034, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.008547/0.008547, allocations: 172 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9683/0.9683, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 82.3 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.4632/0.6387, allocations: 92.19 MB / 0.678 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04334/0.682, allocations: 25.16 MB / 0.7026 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007286/0.6894, allocations: 123.3 kB / 0.7027 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006123/0.6955, allocations: 1.462 MB / 0.7041 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01721/0.7128, allocations: 3.741 MB / 0.7078 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.725, allocations: 3.181 MB / 0.7109 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02011/0.7451, allocations: 10.7 MB / 0.7213 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006771/0.7519, allocations: 2.362 MB / 0.7236 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008614/0.7606, allocations: 2.684 MB / 0.7262 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005487/0.7661, allocations: 2.23 MB / 0.7284 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.7673, allocations: 115.6 kB / 0.7285 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007545/0.7749, allocations: 2.254 MB / 0.7307 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.7767, allocations: 0.8483 MB / 0.7316 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004306/0.781, allocations: 1.727 MB / 0.7332 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.7925, allocations: 5.688 MB / 0.7388 GB, free: 1.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7925, allocations: 3.938 kB / 0.7388 GB, free: 1.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7925, allocations: 0 / 0.7388 GB, free: 1.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002105/0.7927, allocations: 0 / 0.7388 GB, free: 1.637 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.008625/0.8014, allocations: 3.599 MB / 0.7423 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.8014, allocations: 12.03 kB / 0.7423 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.8061, allocations: 0.8197 MB / 0.7431 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008094/0.8142, allocations: 2.993 MB / 0.7461 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008517/0.8151, allocations: 279.9 kB / 0.7463 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000579/0.8157, allocations: 196 kB / 0.7465 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006564/0.8223, allocations: 2.175 MB / 0.7486 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.8224, allocations: 11.94 kB / 0.7486 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002806/0.8227, allocations: 76 kB / 0.7487 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.8227, allocations: 44 kB / 0.7488 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/0.8276, allocations: 1.794 MB / 0.7505 GB, free: 5.441 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.01743/0.8451, allocations: 9.806 MB / 0.7601 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.8477, allocations: 1.179 MB / 0.7612 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.8489, allocations: 0.551 MB / 0.7618 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007363/0.8563, allocations: 4.593 MB / 0.7663 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.8564, allocations: 43.56 kB / 0.7663 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001051/0.8574, allocations: 114.6 kB / 0.7664 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 4.859e-06/0.8575, allocations: 4 kB / 0.7664 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.003627/0.8611, allocations: 1.543 MB / 0.7679 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.8612, allocations: 141.5 kB / 0.7681 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006129/0.8673, allocations: 3.682 MB / 0.7716 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.8675, allocations: 53.7 kB / 0.7717 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.8691, allocations: 1.621 MB / 0.7733 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.8695, allocations: 347.2 kB / 0.7736 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.8697, allocations: 145.6 kB / 0.7738 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8699, allocations: 305.1 kB / 0.774 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.8713, allocations: 0.5817 MB / 0.7746 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.8733, allocations: 1.255 MB / 0.7758 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00299/0.8763, allocations: 1.723 MB / 0.7775 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/0.8763, allocations: 11.94 kB / 0.7775 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004858/0.8812, allocations: 2.099 MB / 0.7796 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004594/0.8816, allocations: 0.6578 MB / 0.7802 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.72e-05/0.8817, allocations: 27.88 kB / 0.7803 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.937e-05/0.8817, allocations: 35.98 kB / 0.7803 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.8832, allocations: 423.3 kB / 0.7807 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-05/0.8833, allocations: 39.86 kB / 0.7807 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.8862, allocations: 304.7 kB / 0.781 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.8864, allocations: 99.97 kB / 0.7811 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.8864, allocations: 4 kB / 0.7811 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003791/0.8902, allocations: 1.762 MB / 0.7828 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/0.8903, allocations: 20 kB / 0.7829 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.8903, allocations: 32.03 kB / 0.7829 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.8917, allocations: 423.3 kB / 0.7833 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.807e-05/0.8918, allocations: 43.8 kB / 0.7833 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.8945, allocations: 252.8 kB / 0.7836 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.8947, allocations: 95.95 kB / 0.7837 GB, free: 1.57 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.001651/0.8963, allocations: 0.8291 MB / 0.7845 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008276/0.8972, allocations: 320 kB / 0.7848 GB, free: 424 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.9012, allocations: 1.795 MB / 0.7865 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.9012, allocations: 12 kB / 0.7865 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.9013, allocations: 3.938 kB / 0.7865 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002152/0.9034, allocations: 1.152 MB / 0.7877 GB, free: 13.43 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.008683/0.9121, allocations: 4.022 MB / 0.7916 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.9122, allocations: 4 kB / 0.7916 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000941/0.9131, allocations: 227.7 kB / 0.7918 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/0.9131, allocations: 16.19 kB / 0.7918 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/0.9132, allocations: 39.92 kB / 0.7919 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/0.9133, allocations: 15.94 kB / 0.7919 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.9133, allocations: 7.938 kB / 0.7919 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/0.9176, allocations: 2.358 MB / 0.7942 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.9191, allocations: 0.5981 MB / 0.7948 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007224/0.9199, allocations: 28 kB / 0.7948 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.9219, allocations: 167.7 kB / 0.795 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.9221, allocations: 108.7 kB / 0.7951 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.9222, allocations: 63.95 kB / 0.7951 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004713/0.927, allocations: 2.535 MB / 0.7976 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.1e-07/0.927, allocations: 0 / 0.7976 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005555/0.9325, allocations: 1.466 MB / 0.799 GB, free: 1.559 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.002665/0.9352, allocations: 0.9321 MB / 0.8 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005672/0.9409, allocations: 2.355 MB / 0.8023 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.9409, allocations: 4.25 kB / 0.8023 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.9425, allocations: 0.6863 MB / 0.8029 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/0.9534, allocations: 1.409 MB / 0.8043 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.9653, allocations: 6.878 MB / 0.811 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002565/0.9679, allocations: 2.01 MB / 0.813 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003913/0.9719, allocations: 0.7341 MB / 0.8137 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008744/0.9727, allocations: 243.4 kB / 0.8139 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/0.9728, allocations: 3.938 kB / 0.8139 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of Templates: time 0.4586/1.431, allocations: 56.07 MB / 0.8687 GB, free: 206.1 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)