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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001157/0.001157, allocations: 115.8 kB / 16.42 MB, free: 6.453 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.001163/0.001163, allocations: 187.9 kB / 17.35 MB, free: 5.734 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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7987/0.7987, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 72.66 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1662, allocations: 80.2 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.4436/0.6098, allocations: 94.56 MB / 0.7527 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03561/0.6454, allocations: 25.37 MB / 0.7775 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005657/0.6511, allocations: 137.9 kB / 0.7776 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005347/0.6565, allocations: 1.729 MB / 0.7793 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.669, allocations: 4.125 MB / 0.7833 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01066/0.6797, allocations: 3.543 MB / 0.7868 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.6926, allocations: 8.199 MB / 0.7948 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004773/0.6974, allocations: 2.864 MB / 0.7976 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008116/0.7056, allocations: 3.283 MB / 0.8008 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004463/0.7101, allocations: 2.292 MB / 0.803 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.7111, allocations: 305.5 kB / 0.8033 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006911/0.7181, allocations: 2.411 MB / 0.8057 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.7196, allocations: 1.045 MB / 0.8067 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003371/0.723, allocations: 1.941 MB / 0.8086 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.7346, allocations: 6.01 MB / 0.8144 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7346, allocations: 0 / 0.8144 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7346, allocations: 0 / 0.8144 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001581/0.7348, allocations: 0 / 0.8144 GB, free: 11.52 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.008134/0.743, allocations: 4.398 MB / 0.8187 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.743, allocations: 11.97 kB / 0.8188 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/0.7467, allocations: 0.7842 MB / 0.8195 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006394/0.7531, allocations: 3.02 MB / 0.8225 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.7533, allocations: 143.9 kB / 0.8226 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/0.7537, allocations: 200.7 kB / 0.8228 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.7582, allocations: 2.145 MB / 0.8249 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.7583, allocations: 3.938 kB / 0.8249 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.7585, allocations: 79.94 kB / 0.825 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.7586, allocations: 48 kB / 0.825 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.7627, allocations: 1.712 MB / 0.8267 GB, free: 2.219 MB / 0.5919 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.01806/0.7808, allocations: 9.849 MB / 0.8363 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.7833, allocations: 1.103 MB / 0.8374 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.7846, allocations: 0.5439 MB / 0.8379 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008098/0.7927, allocations: 4.539 MB / 0.8423 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.7928, allocations: 43.56 kB / 0.8424 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 3.968e-06/0.7928, allocations: 3.938 kB / 0.8424 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.004223/0.797, allocations: 1.498 MB / 0.8439 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.7971, allocations: 137.5 kB / 0.844 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007476/0.8046, allocations: 3.71 MB / 0.8476 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/0.805, allocations: 49.7 kB / 0.8477 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.8069, allocations: 1.654 MB / 0.8493 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/0.8075, allocations: 343.4 kB / 0.8496 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008924/0.8084, allocations: 361.7 kB / 0.8499 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8085, allocations: 301.1 kB / 0.8502 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.81, allocations: 0.563 MB / 0.8508 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.8122, allocations: 1.212 MB / 0.852 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.8154, allocations: 1.665 MB / 0.8536 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.8154, allocations: 4 kB / 0.8536 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.005438/0.8209, allocations: 2.046 MB / 0.8556 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.8209, allocations: 14.34 kB / 0.8556 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-05/0.821, allocations: 20 kB / 0.8556 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.71e-05/0.821, allocations: 28 kB / 0.8557 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.8226, allocations: 411.6 kB / 0.856 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.636e-05/0.8227, allocations: 39.86 kB / 0.8561 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.8257, allocations: 307.7 kB / 0.8564 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.826, allocations: 87.97 kB / 0.8565 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002882/0.8288, allocations: 1.191 MB / 0.8576 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002051/0.8309, allocations: 1.218 MB / 0.8588 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003015/0.8339, allocations: 1.661 MB / 0.8604 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.968e-05/0.834, allocations: 4 kB / 0.8604 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.005206/0.8392, allocations: 2.033 MB / 0.8624 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.8392, allocations: 15.94 kB / 0.8624 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.8393, allocations: 20.62 kB / 0.8625 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.583e-05/0.8393, allocations: 31.94 kB / 0.8625 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.8409, allocations: 411.3 kB / 0.8629 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.953e-05/0.8409, allocations: 39.86 kB / 0.8629 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.8439, allocations: 252.3 kB / 0.8632 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.8441, allocations: 87.97 kB / 0.8632 GB, free: 10.78 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.0005289/0.8447, allocations: 303.6 kB / 0.8635 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/0.8459, allocations: 349.6 kB / 0.8639 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/0.8501, allocations: 1.747 MB / 0.8656 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002086/0.8522, allocations: 1.094 MB / 0.8666 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.8522, allocations: 4 kB / 0.8666 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.8541, allocations: 0.5804 MB / 0.8672 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/0.8551, allocations: 24 kB / 0.8672 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.8572, allocations: 95.91 kB / 0.8673 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.8574, allocations: 84.88 kB / 0.8674 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003333/0.8607, allocations: 1.302 MB / 0.8687 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004564/0.8653, allocations: 2.195 MB / 0.8708 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001052/0.8664, allocations: 0.5544 MB / 0.8714 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005294/0.8717, allocations: 2.552 MB / 0.8739 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of Backend: time 8.22e-07/0.8717, allocations: 4 kB / 0.8739 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01054/0.8823, allocations: 3.054 MB / 0.8768 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0155/0.8978, allocations: 6.854 MB / 0.8835 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of Templates: time 0.1071/1.005, allocations: 62.75 MB / 0.9448 GB, free: 8.039 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.makefile (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)