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.0008821/0.0008821, allocations: 90.83 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.004874/0.004874, allocations: 172.3 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8541/0.8541, allocations: 135.7 MB / 427.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002581, allocations: 9.062 kB / 0.5081 GB, free: 4.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 82.41 MB / 0.5886 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.283/0.4213, allocations: 92.18 MB / 0.6786 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03517/0.4565, allocations: 25.15 MB / 0.7032 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005764/0.4623, allocations: 115.2 kB / 0.7033 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.4665, allocations: 1.473 MB / 0.7047 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.4766, allocations: 3.739 MB / 0.7084 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007963/0.4845, allocations: 3.186 MB / 0.7115 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.4981, allocations: 10.69 MB / 0.7219 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004002/0.5021, allocations: 2.385 MB / 0.7242 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006232/0.5083, allocations: 2.672 MB / 0.7268 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004097/0.5125, allocations: 2.223 MB / 0.729 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.5128, allocations: 114.9 kB / 0.7291 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/0.518, allocations: 2.259 MB / 0.7313 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000867/0.5189, allocations: 0.8552 MB / 0.7322 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.521, allocations: 1.723 MB / 0.7339 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00737/0.5284, allocations: 5.684 MB / 0.7394 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5284, allocations: 0 / 0.7394 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5284, allocations: 0 / 0.7394 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.509e-05/0.5285, allocations: 0 / 0.7394 GB, free: 0.8203 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.005858/0.5344, allocations: 3.609 MB / 0.7429 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5344, allocations: 12.03 kB / 0.7429 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.5375, allocations: 0.8158 MB / 0.7437 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/0.5424, allocations: 2.993 MB / 0.7467 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006833/0.5431, allocations: 279.9 kB / 0.7469 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.5434, allocations: 192 kB / 0.7471 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003924/0.5473, allocations: 2.185 MB / 0.7492 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.5473, allocations: 3.984 kB / 0.7492 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.5475, allocations: 80 kB / 0.7493 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.5476, allocations: 48 kB / 0.7494 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.5515, allocations: 1.798 MB / 0.7511 GB, free: 4.609 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.01349/0.565, allocations: 9.804 MB / 0.7607 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.5674, allocations: 1.168 MB / 0.7618 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.5685, allocations: 0.5588 MB / 0.7624 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006345/0.5749, allocations: 4.589 MB / 0.7669 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.5749, allocations: 55.48 kB / 0.7669 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004918/0.5754, allocations: 114.6 kB / 0.767 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.265e-06/0.5755, allocations: 0 / 0.767 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.003073/0.5785, allocations: 1.539 MB / 0.7685 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.5786, allocations: 137.5 kB / 0.7687 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.5834, allocations: 3.686 MB / 0.7723 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.5835, allocations: 49.7 kB / 0.7723 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.585, allocations: 1.617 MB / 0.7739 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.5853, allocations: 343.2 kB / 0.7742 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.5855, allocations: 153.6 kB / 0.7744 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5856, allocations: 301.1 kB / 0.7746 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.587, allocations: 0.5817 MB / 0.7752 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.5889, allocations: 1.255 MB / 0.7764 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/0.5918, allocations: 1.727 MB / 0.7781 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.5918, allocations: 8 kB / 0.7781 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003983/0.5958, allocations: 2.099 MB / 0.7802 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005037/0.5963, allocations: 0.6654 MB / 0.7808 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.5964, allocations: 23.94 kB / 0.7809 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.5964, allocations: 28 kB / 0.7809 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.5978, allocations: 427.3 kB / 0.7813 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/0.5979, allocations: 39.86 kB / 0.7813 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.6, allocations: 308.7 kB / 0.7816 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.6001, allocations: 91.97 kB / 0.7817 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.593e-06/0.6001, allocations: 8 kB / 0.7817 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003479/0.6036, allocations: 1.769 MB / 0.7835 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.6037, allocations: 16 kB / 0.7835 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.6037, allocations: 32.56 kB / 0.7835 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.605, allocations: 423.3 kB / 0.7839 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.535e-05/0.6051, allocations: 43.84 kB / 0.7839 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.6068, allocations: 248.8 kB / 0.7842 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.6069, allocations: 99.97 kB / 0.7843 GB, free: 0.7461 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.001155/0.6081, allocations: 0.8305 MB / 0.7851 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.6085, allocations: 324 kB / 0.7854 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.6118, allocations: 1.791 MB / 0.7871 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.6118, allocations: 19.98 kB / 0.7872 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6118, allocations: 3.938 kB / 0.7872 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002048/0.6139, allocations: 1.141 MB / 0.7883 GB, free: 12.62 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.006162/0.6201, allocations: 4.034 MB / 0.7922 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.6201, allocations: 8 kB / 0.7922 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008747/0.621, allocations: 223.7 kB / 0.7924 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.621, allocations: 11.94 kB / 0.7925 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.6211, allocations: 44 kB / 0.7925 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.6211, allocations: 19.88 kB / 0.7925 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.567e-06/0.6211, allocations: 11.94 kB / 0.7925 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.6249, allocations: 2.347 MB / 0.7948 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008435/0.6258, allocations: 0.5981 MB / 0.7954 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.6261, allocations: 28 kB / 0.7954 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.6275, allocations: 171.7 kB / 0.7956 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.6277, allocations: 116.7 kB / 0.7957 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-05/0.6278, allocations: 55.97 kB / 0.7958 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003418/0.6312, allocations: 2.539 MB / 0.7982 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6313, allocations: 0 / 0.7982 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003232/0.6345, allocations: 1.462 MB / 0.7997 GB, free: 0.7305 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.002221/0.6367, allocations: 0.9196 MB / 0.8006 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004482/0.6412, allocations: 2.366 MB / 0.8029 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6412, allocations: 4 kB / 0.8029 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.6425, allocations: 0.6826 MB / 0.8035 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007919/0.6504, allocations: 1.404 MB / 0.8049 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.6591, allocations: 6.88 MB / 0.8116 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.6609, allocations: 2.006 MB / 0.8136 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002784/0.6637, allocations: 0.7422 MB / 0.8143 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/0.6643, allocations: 247.4 kB / 0.8146 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of SimCode: time 4.6e-07/0.6643, allocations: 0 / 0.8146 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of Templates: time 0.3015/0.9657, allocations: 56.08 MB / 0.8693 GB, free: 205.8 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)