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.001175/0.001175, allocations: 106.7 kB / 16.27 MB, free: 5.984 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.001277/0.001277, allocations: 189 kB / 17.2 MB, free: 5.609 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8184/0.8184, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.89 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.427, allocations: 80.18 MB / 0.5807 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.08955/0.5166, allocations: 94.57 MB / 0.6731 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05139/0.568, allocations: 25.38 MB / 0.6979 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007698/0.5758, allocations: 135.2 kB / 0.698 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007231/0.5831, allocations: 1.731 MB / 0.6997 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.5971, allocations: 4.013 MB / 0.7036 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.6072, allocations: 3.512 MB / 0.707 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.6202, allocations: 8.161 MB / 0.715 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/0.6264, allocations: 2.873 MB / 0.7178 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008525/0.635, allocations: 3.204 MB / 0.7209 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004451/0.6395, allocations: 2.287 MB / 0.7232 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.6409, allocations: 304 kB / 0.7235 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006715/0.6477, allocations: 2.41 MB / 0.7258 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.6496, allocations: 1.04 MB / 0.7268 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004228/0.6539, allocations: 1.935 MB / 0.7287 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.6654, allocations: 5.905 MB / 0.7345 GB, free: 400 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6655, allocations: 0 / 0.7345 GB, free: 400 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6655, allocations: 4 kB / 0.7345 GB, free: 396 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001518/0.6656, allocations: 4 kB / 0.7345 GB, free: 392 kB / 0.5606 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.01074/0.6764, allocations: 4.254 MB / 0.7386 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6764, allocations: 12.02 kB / 0.7387 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/0.6803, allocations: 0.7684 MB / 0.7394 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/0.6865, allocations: 2.884 MB / 0.7422 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007374/0.6873, allocations: 255.9 kB / 0.7425 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.6878, allocations: 196 kB / 0.7427 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.6921, allocations: 2.165 MB / 0.7448 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.6922, allocations: 4 kB / 0.7448 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.6923, allocations: 80 kB / 0.7449 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.6924, allocations: 44 kB / 0.7449 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/0.6965, allocations: 1.727 MB / 0.7466 GB, free: 3.785 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 preOpt removeSimpleEquations (simulation): time 0.3418/1.038, allocations: 9.936 MB / 0.7563 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/1.041, allocations: 1.11 MB / 0.7574 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.042, allocations: 0.5412 MB / 0.7579 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008121/1.05, allocations: 4.528 MB / 0.7623 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/1.051, allocations: 45.31 kB / 0.7624 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.546e-06/1.051, allocations: 0 / 0.7624 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.004425/1.055, allocations: 1.481 MB / 0.7638 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/1.055, allocations: 139.5 kB / 0.7639 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006779/1.062, allocations: 3.73 MB / 0.7676 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000375/1.062, allocations: 54.8 kB / 0.7676 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/1.064, allocations: 1.624 MB / 0.7692 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/1.064, allocations: 332.6 kB / 0.7695 GB, free: 143 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005515/1.065, allocations: 355.5 kB / 0.7699 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/1.065, allocations: 306.8 kB / 0.7702 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/1.066, allocations: 0.5695 MB / 0.7707 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/1.068, allocations: 1.243 MB / 0.7719 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/1.071, allocations: 1.685 MB / 0.7736 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/1.071, allocations: 7.844 kB / 0.7736 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.00479/1.075, allocations: 2.064 MB / 0.7756 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.075, allocations: 15.78 kB / 0.7756 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.075, allocations: 15.84 kB / 0.7756 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.111e-05/1.076, allocations: 31.5 kB / 0.7757 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.077, allocations: 423.5 kB / 0.7761 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/1.077, allocations: 39.27 kB / 0.7761 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.08, allocations: 338.5 kB / 0.7764 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.08, allocations: 92.94 kB / 0.7765 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002554/1.083, allocations: 1.201 MB / 0.7777 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/1.084, allocations: 1.232 MB / 0.7789 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002525/1.087, allocations: 1.684 MB / 0.7805 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.054e-05/1.087, allocations: 7.625 kB / 0.7805 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.004604/1.091, allocations: 2.046 MB / 0.7825 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.091, allocations: 17.03 kB / 0.7826 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.091, allocations: 18.66 kB / 0.7826 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/1.092, allocations: 29.72 kB / 0.7826 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/1.093, allocations: 420.5 kB / 0.783 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.693e-05/1.093, allocations: 42.05 kB / 0.7831 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/1.096, allocations: 280.8 kB / 0.7833 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/1.096, allocations: 89.14 kB / 0.7834 GB, free: 134.3 MB / 0.5762 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.0004857/1.097, allocations: 299.5 kB / 0.7837 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.098, allocations: 322.2 kB / 0.784 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.102, allocations: 1.754 MB / 0.7857 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.102, allocations: 15.98 kB / 0.7857 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.102, allocations: 4 kB / 0.7857 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001845/1.104, allocations: 1.105 MB / 0.7868 GB, free: 131 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008626/1.112, allocations: 3.97 MB / 0.7907 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.112, allocations: 4 kB / 0.7907 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/1.113, allocations: 224.4 kB / 0.7909 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/1.113, allocations: 15.94 kB / 0.7909 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-05/1.113, allocations: 35.97 kB / 0.791 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/1.113, allocations: 8 kB / 0.791 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.113, allocations: 11.94 kB / 0.791 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/1.118, allocations: 2.319 MB / 0.7932 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.119, allocations: 0.5847 MB / 0.7938 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008947/1.12, allocations: 28 kB / 0.7938 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.122, allocations: 119.9 kB / 0.7939 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.122, allocations: 112.6 kB / 0.7941 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.122, allocations: 59.95 kB / 0.7941 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004635/1.127, allocations: 2.57 MB / 0.7966 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/1.127, allocations: 0 / 0.7966 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005969/1.133, allocations: 1.476 MB / 0.7981 GB, free: 119.3 MB / 0.5762 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 (119): * Single equations (assignments): 107 * 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.002713/1.136, allocations: 0.9653 MB / 0.799 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006225/1.142, allocations: 2.401 MB / 0.8014 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/1.142, allocations: 0 / 0.8014 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.144, allocations: 0.6709 MB / 0.802 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007811/1.151, allocations: 1.442 MB / 0.8034 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.161, allocations: 5.817 MB / 0.8091 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.163, allocations: 1.993 MB / 0.811 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.164, allocations: 247.4 kB / 0.8113 GB, free: 106 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.164, allocations: 3.938 kB / 0.8113 GB, free: 106 MB / 0.5762 GB Notification: Performance of Templates: time 0.0713/1.236, allocations: 52.82 MB / 0.8629 GB, free: 53.56 MB / 0.5762 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)