Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002698/0.002703, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.557/1.557, allocations: 165.8 MB / 182.5 MB, free: 5.391 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.855/3.855, allocations: 410.8 MB / 0.5995 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001734/0.001733, allocations: 204.2 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004672, allocations: 12 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3363, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.164/0.5004, allocations: 116.4 MB / 0.9218 GB, free: 8.109 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.3821/0.8826, allocations: 13.68 MB / 0.9352 GB, free: 70.89 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.8855, allocations: 61.88 kB / 0.9352 GB, free: 70.89 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.8888, allocations: 0.7613 MB / 0.936 GB, free: 70.89 MB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008842/0.8977, allocations: 2.324 MB / 0.9382 GB, free: 70.87 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007568/0.9053, allocations: 1.956 MB / 0.9401 GB, free: 70.82 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.008079/0.9134, allocations: 5.193 MB / 0.9452 GB, free: 70.62 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/0.916, allocations: 1.22 MB / 0.9464 GB, free: 70.43 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.9196, allocations: 1.382 MB / 0.9478 GB, free: 70.07 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.9222, allocations: 1.178 MB / 0.9489 GB, free: 69.8 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.9227, allocations: 72.22 kB / 0.949 GB, free: 69.8 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/0.9271, allocations: 1.144 MB / 0.9501 GB, free: 69.72 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007827/0.9279, allocations: 345.6 kB / 0.9504 GB, free: 69.65 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009184/0.9289, allocations: 415.6 kB / 0.9508 GB, free: 69.56 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004631/0.9335, allocations: 2.585 MB / 0.9533 GB, free: 68.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.334e-06/0.9336, allocations: 0 / 0.9533 GB, free: 68.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.9336, allocations: 0.625 kB / 0.9533 GB, free: 68.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.83e-05/0.9336, allocations: 0 / 0.9533 GB, free: 68.68 MB / 474.7 MB 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.004582/0.9382, allocations: 2.053 MB / 0.9554 GB, free: 67.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9383, allocations: 9.969 kB / 0.9554 GB, free: 67.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006653/0.945, allocations: 0.7522 MB / 0.9561 GB, free: 67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/0.9487, allocations: 1.589 MB / 0.9576 GB, free: 66.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.949, allocations: 136.4 kB / 0.9578 GB, free: 66.24 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.9493, allocations: 124.6 kB / 0.9579 GB, free: 66.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005146/0.9544, allocations: 1.731 MB / 0.9596 GB, free: 65.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.9545, allocations: 7.25 kB / 0.9596 GB, free: 65.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.9547, allocations: 57.2 kB / 0.9596 GB, free: 65.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.9548, allocations: 37.41 kB / 0.9597 GB, free: 65.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006461/0.9613, allocations: 1.526 MB / 0.9612 GB, free: 65.29 MB / 474.7 MB 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.01265/0.974, allocations: 7.564 MB / 0.9686 GB, free: 60.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004973/0.979, allocations: 1.192 MB / 0.9697 GB, free: 59.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.9815, allocations: 0.6046 MB / 0.9703 GB, free: 59.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.9827, allocations: 1.279 MB / 0.9716 GB, free: 57.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00276/0.9855, allocations: 0.6976 MB / 0.9722 GB, free: 57.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=80): time 5.838e-06/0.9855, allocations: 0 / 0.9722 GB, free: 57.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=80): time 0.01994/1.006, allocations: 3.241 MB / 0.9754 GB, free: 54.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.006, allocations: 141.2 kB / 0.9755 GB, free: 54.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/1.008, allocations: 1.251 MB / 0.9768 GB, free: 53.19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/1.008, allocations: 50.44 kB / 0.9768 GB, free: 53.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/1.009, allocations: 0.716 MB / 0.9775 GB, free: 52.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/1.009, allocations: 279.5 kB / 0.9778 GB, free: 52.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/1.009, allocations: 20.88 kB / 0.9778 GB, free: 52.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.436e-05/1.009, allocations: 339.5 kB / 0.9781 GB, free: 52.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/1.012, allocations: 0.5288 MB / 0.9786 GB, free: 51.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/1.015, allocations: 0.8036 MB / 0.9794 GB, free: 51.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/1.017, allocations: 0.585 MB / 0.98 GB, free: 50.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.042e-06/1.017, allocations: 0 / 0.98 GB, free: 50.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006497/1.024, allocations: 1.671 MB / 0.9816 GB, free: 49.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.024, allocations: 273.1 kB / 0.9819 GB, free: 49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.024, allocations: 8 kB / 0.9819 GB, free: 48.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/1.026, allocations: 0.5734 MB / 0.9825 GB, free: 48.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.028, allocations: 259.6 kB / 0.9827 GB, free: 48.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/1.03, allocations: 1.179 MB / 0.9839 GB, free: 46.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.033, allocations: 230.8 kB / 0.9841 GB, free: 46.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/1.033, allocations: 63.94 kB / 0.9841 GB, free: 46.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.033, allocations: 4 kB / 0.9841 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005972/1.039, allocations: 1.508 MB / 0.9856 GB, free: 45.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.039, allocations: 8.125 kB / 0.9856 GB, free: 45.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/1.042, allocations: 0.5711 MB / 0.9862 GB, free: 44.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.043, allocations: 251.6 kB / 0.9864 GB, free: 44.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/1.046, allocations: 1.166 MB / 0.9876 GB, free: 43.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/1.049, allocations: 227 kB / 0.9878 GB, free: 42.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/1.049, allocations: 63.83 kB / 0.9878 GB, free: 42.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001056/1.05, allocations: 470.5 kB / 0.9883 GB, free: 42.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/1.051, allocations: 146.2 kB / 0.9884 GB, free: 42.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/1.066, allocations: 2.173 MB / 0.9905 GB, free: 40.08 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/1.066, allocations: 10.52 kB / 0.9906 GB, free: 40.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-06/1.066, allocations: 4 kB / 0.9906 GB, free: 40.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01327/1.079, allocations: 2.001 MB / 0.9925 GB, free: 38.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009728/1.089, allocations: 3.656 MB / 0.9961 GB, free: 34.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.089, allocations: 4 kB / 0.9961 GB, free: 34.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.09, allocations: 179.9 kB / 0.9963 GB, free: 34.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/1.092, allocations: 0.5515 MB / 0.9968 GB, free: 33.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/1.093, allocations: 39.94 kB / 0.9968 GB, free: 33.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/1.095, allocations: 1.162 MB / 0.998 GB, free: 32.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.087e-06/1.095, allocations: 3.953 kB / 0.998 GB, free: 32.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/1.101, allocations: 1.612 MB / 0.9995 GB, free: 30.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/1.102, allocations: 410.8 kB / 0.9999 GB, free: 30.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/1.102, allocations: 20 kB / 1 GB, free: 30.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.104, allocations: 154.6 kB / 1 GB, free: 30.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.104, allocations: 60.53 kB / 1 GB, free: 29.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.105, allocations: 55.92 kB / 1 GB, free: 29.92 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001429/1.106, allocations: 0.8592 MB / 1.001 GB, free: 29.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.67e-07/1.106, allocations: 0 / 1.001 GB, free: 29.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003228/1.109, allocations: 0.9548 MB / 1.002 GB, free: 28.11 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002629/1.112, allocations: 0.8674 MB / 1.003 GB, free: 27.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008333/1.12, allocations: 2.034 MB / 1.005 GB, free: 25.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.499e-06/1.12, allocations: 8 kB / 1.005 GB, free: 25.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002682/1.123, allocations: 0.6318 MB / 1.005 GB, free: 24.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/1.128, allocations: 0.7672 MB / 1.006 GB, free: 24.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/1.135, allocations: 3.223 MB / 1.009 GB, free: 20.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/1.136, allocations: 1.294 MB / 1.011 GB, free: 19.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002548/1.138, allocations: 371.9 kB / 1.011 GB, free: 19.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/1.139, allocations: 143.2 kB / 1.011 GB, free: 18.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.887e-06/1.139, allocations: 0 / 1.011 GB, free: 18.96 MB / 474.7 MB Notification: Performance of Templates: time 0.0805/1.219, allocations: 37.45 MB / 1.048 GB, free: 14.02 MB / 0.4949 GB