Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001546/0.001546, allocations: 193.4 kB / 17.34 MB, free: 5.762 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.59 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1576, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4438/0.6014, allocations: 126.1 MB / 0.7835 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.622, allocations: 15.42 MB / 0.7986 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004043/0.6261, allocations: 74.22 kB / 0.7986 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.6293, allocations: 0.96 MB / 0.7996 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008017/0.6374, allocations: 2.599 MB / 0.8021 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005903/0.6433, allocations: 2.138 MB / 0.8042 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006662/0.65, allocations: 4.785 MB / 0.8089 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/0.6526, allocations: 1.708 MB / 0.8105 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.657, allocations: 1.877 MB / 0.8124 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003385/0.6604, allocations: 1.331 MB / 0.8137 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004646/0.6609, allocations: 205.1 kB / 0.8139 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.6659, allocations: 2.047 MB / 0.8159 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005919/0.6665, allocations: 0.502 MB / 0.8163 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.6681, allocations: 1.082 MB / 0.8174 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006568/0.6746, allocations: 3.703 MB / 0.821 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.6747, allocations: 0 / 0.821 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6747, allocations: 3.984 kB / 0.821 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.29e-05/0.6747, allocations: 0 / 0.821 GB, free: 4.496 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004012/0.6788, allocations: 2.445 MB / 0.8234 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.6788, allocations: 8.062 kB / 0.8234 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/0.6839, allocations: 0.7126 MB / 0.8241 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.6866, allocations: 1.702 MB / 0.8258 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.6867, allocations: 131.4 kB / 0.8259 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.6869, allocations: 128.4 kB / 0.826 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.6905, allocations: 1.732 MB / 0.8277 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.6906, allocations: 0 / 0.8277 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.6907, allocations: 56.19 kB / 0.8278 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.6908, allocations: 39.28 kB / 0.8278 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/0.6952, allocations: 1.51 MB / 0.8293 GB, free: 14.93 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.01033/0.7056, allocations: 7.524 MB / 0.8366 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.7096, allocations: 1.163 MB / 0.8378 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.7116, allocations: 0.5888 MB / 0.8383 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.713, allocations: 1.282 MB / 0.8396 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/0.7153, allocations: 0.6835 MB / 0.8403 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.797e-06/0.7153, allocations: 0 / 0.8403 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01706/0.7324, allocations: 3.171 MB / 0.8434 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.7325, allocations: 141.2 kB / 0.8435 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.7344, allocations: 1.288 MB / 0.8448 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.7346, allocations: 57.62 kB / 0.8448 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006082/0.7352, allocations: 0.7192 MB / 0.8455 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.7355, allocations: 280.1 kB / 0.8458 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.7358, allocations: 218.4 kB / 0.846 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7359, allocations: 341.9 kB / 0.8463 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.7379, allocations: 0.5317 MB / 0.8468 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.74, allocations: 0.8027 MB / 0.8476 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.7439, allocations: 1.229 MB / 0.8488 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7439, allocations: 0 / 0.8488 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005268/0.7492, allocations: 1.656 MB / 0.8504 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7492, allocations: 12 kB / 0.8504 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7493, allocations: 4 kB / 0.8504 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.7512, allocations: 0.5765 MB / 0.851 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7525, allocations: 243.6 kB / 0.8512 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.7545, allocations: 1.167 MB / 0.8524 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.7563, allocations: 186.8 kB / 0.8526 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.7565, allocations: 55.94 kB / 0.8526 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002417/0.7589, allocations: 0.8298 MB / 0.8534 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002031/0.761, allocations: 0.7944 MB / 0.8542 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003766/0.7647, allocations: 1.215 MB / 0.8554 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/0.7648, allocations: 4 kB / 0.8554 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005205/0.77, allocations: 1.632 MB / 0.857 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.77, allocations: 15.88 kB / 0.857 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.77, allocations: 8 kB / 0.857 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.7719, allocations: 0.5678 MB / 0.8576 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.7732, allocations: 239.6 kB / 0.8578 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.7752, allocations: 1.17 MB / 0.8589 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.7771, allocations: 163.2 kB / 0.8591 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.7773, allocations: 59.94 kB / 0.8591 GB, free: 15.29 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004098/0.7777, allocations: 246.8 kB / 0.8594 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004315/0.7781, allocations: 150.2 kB / 0.8595 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.79, allocations: 2.117 MB / 0.8616 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.7901, allocations: 8 kB / 0.8616 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.7901, allocations: 0 / 0.8616 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01132/0.8015, allocations: 1.958 MB / 0.8635 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/0.8098, allocations: 3.654 MB / 0.8671 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.8098, allocations: 0 / 0.8671 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.8109, allocations: 179.9 kB / 0.8673 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.8127, allocations: 0.5469 MB / 0.8678 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.503e-05/0.8128, allocations: 35.94 kB / 0.8678 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.8147, allocations: 1.154 MB / 0.8689 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.8147, allocations: 4 kB / 0.8689 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/0.8197, allocations: 1.596 MB / 0.8705 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008179/0.8206, allocations: 379 kB / 0.8709 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.8208, allocations: 16 kB / 0.8709 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.8223, allocations: 115.8 kB / 0.871 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.8225, allocations: 56.52 kB / 0.871 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.8226, allocations: 51.94 kB / 0.8711 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00123/0.8238, allocations: 0.8907 MB / 0.872 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8239, allocations: 0 / 0.872 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002509/0.8264, allocations: 0.9704 MB / 0.8729 GB, free: 0.875 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/0.8284, allocations: 0.8836 MB / 0.8738 GB, free: 208 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006794/0.8352, allocations: 2.026 MB / 0.8758 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.8353, allocations: 0 / 0.8758 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/0.8374, allocations: 0.6282 MB / 0.8764 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.841, allocations: 0.7663 MB / 0.8771 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.8469, allocations: 2.72 MB / 0.8798 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.8477, allocations: 1.255 MB / 0.881 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.8483, allocations: 159.3 kB / 0.8812 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.8483, allocations: 3.938 kB / 0.8812 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of Templates: time 0.04982/0.8981, allocations: 37.78 MB / 0.9181 GB, free: 2.93 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)