Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.849/4.849, allocations: 0.5623 GB / 0.5769 GB, free: 3.391 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002368/0.002368, allocations: 356.1 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.836/3.836, allocations: 410.7 MB / 1.112 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 179.5 kB / 1.225 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 15.98 kB / 1.348 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5763, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1086/0.685, allocations: 116.4 MB / 1.574 GB, free: 168 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.7046, allocations: 13.71 MB / 1.588 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.7073, allocations: 67.5 kB / 1.588 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.7101, allocations: 0.7647 MB / 1.589 GB, free: 153.5 MB / 0.8542 GB [/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.007513/0.7176, allocations: 2.321 MB / 1.591 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006705/0.7244, allocations: 1.965 MB / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005921/0.7303, allocations: 5.184 MB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.7322, allocations: 1.226 MB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.7348, allocations: 1.376 MB / 1.6 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.7364, allocations: 1.177 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.7367, allocations: 72 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.7398, allocations: 1.134 MB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.7402, allocations: 350.5 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005327/0.7408, allocations: 416.8 kB / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.7438, allocations: 2.58 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.072e-06/0.7438, allocations: 4 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.396e-06/0.7438, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.7439, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 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.003611/0.7475, allocations: 2.046 MB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.7476, allocations: 15.62 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00604/0.7536, allocations: 0.7469 MB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.757, allocations: 1.597 MB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.7572, allocations: 132.1 kB / 1.61 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.7575, allocations: 132 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004639/0.7621, allocations: 1.739 MB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.7622, allocations: 7.938 kB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.7624, allocations: 53.69 kB / 1.612 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.7625, allocations: 36 kB / 1.612 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00564/0.7681, allocations: 1.527 MB / 1.614 GB, free: 127.4 MB / 0.8542 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.01095/0.7791, allocations: 7.571 MB / 1.621 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/0.784, allocations: 1.181 MB / 1.622 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.7864, allocations: 0.6006 MB / 1.623 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.7876, allocations: 1.275 MB / 1.624 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002644/0.7902, allocations: 0.703 MB / 1.625 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=80): time 5.578e-06/0.7903, allocations: 0 / 1.625 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=80): time 0.01944/0.8097, allocations: 3.23 MB / 1.628 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.8098, allocations: 137.2 kB / 1.628 GB, free: 112 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.8119, allocations: 1.266 MB / 1.629 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.8121, allocations: 53.7 kB / 1.629 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.8127, allocations: 0.7114 MB / 1.63 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.813, allocations: 284 kB / 1.63 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.8131, allocations: 24 kB / 1.63 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.8132, allocations: 337.9 kB / 1.631 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.8156, allocations: 0.5289 MB / 1.631 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.8181, allocations: 0.8139 MB / 1.632 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.8205, allocations: 0.5729 MB / 1.633 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.302e-06/0.8206, allocations: 4 kB / 1.633 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006246/0.8268, allocations: 1.664 MB / 1.634 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.827, allocations: 281.2 kB / 1.635 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.827, allocations: 4 kB / 1.635 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/0.8294, allocations: 0.5762 MB / 1.635 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.8311, allocations: 251.6 kB / 1.635 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.8334, allocations: 1.172 MB / 1.636 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.8358, allocations: 234.8 kB / 1.637 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.8359, allocations: 55.95 kB / 1.637 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.836, allocations: 4 kB / 1.637 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005639/0.8416, allocations: 1.515 MB / 1.638 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.8416, allocations: 12 kB / 1.638 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.844, allocations: 0.5631 MB / 1.639 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.8458, allocations: 251.6 kB / 1.639 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.8483, allocations: 1.185 MB / 1.64 GB, free: 99.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.851, allocations: 223 kB / 1.64 GB, free: 99.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.8512, allocations: 55.95 kB / 1.64 GB, free: 99.13 MB / 0.8542 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 ($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.0009544/0.8521, allocations: 480.9 kB / 1.641 GB, free: 98.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.8525, allocations: 150.2 kB / 1.641 GB, free: 98.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.8666, allocations: 2.164 MB / 1.643 GB, free: 96.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.8666, allocations: 8 kB / 1.643 GB, free: 96.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.861e-06/0.8667, allocations: 0 / 1.643 GB, free: 96.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01286/0.8795, allocations: 2.001 MB / 1.645 GB, free: 94.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009383/0.889, allocations: 3.664 MB / 1.649 GB, free: 90.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.779e-06/0.889, allocations: 0 / 1.649 GB, free: 90.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.8903, allocations: 179.8 kB / 1.649 GB, free: 90.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.8926, allocations: 0.5513 MB / 1.649 GB, free: 89.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.8927, allocations: 43.89 kB / 1.649 GB, free: 89.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.8949, allocations: 1.153 MB / 1.651 GB, free: 88.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.722e-06/0.8949, allocations: 4 kB / 1.651 GB, free: 88.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/0.9006, allocations: 1.616 MB / 1.652 GB, free: 86.85 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008689/0.9015, allocations: 406.9 kB / 1.653 GB, free: 86.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.9018, allocations: 20 kB / 1.653 GB, free: 86.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.9038, allocations: 163.7 kB / 1.653 GB, free: 86.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.904, allocations: 56.52 kB / 1.653 GB, free: 86.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.9041, allocations: 59.92 kB / 1.653 GB, free: 86.14 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001392/0.9055, allocations: 0.8515 MB / 1.654 GB, free: 85.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-06/0.9055, allocations: 4 kB / 1.654 GB, free: 85.28 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002872/0.9084, allocations: 0.9587 MB / 1.655 GB, free: 84.32 MB / 0.8542 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 (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.002476/0.9109, allocations: 0.8489 MB / 1.655 GB, free: 83.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007946/0.9189, allocations: 2.041 MB / 1.657 GB, free: 81.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.521e-06/0.9189, allocations: 4 kB / 1.657 GB, free: 81.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.9215, allocations: 0.6321 MB / 1.658 GB, free: 81.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/0.9258, allocations: 0.769 MB / 1.659 GB, free: 80.26 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.9325, allocations: 3.232 MB / 1.662 GB, free: 76.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.9334, allocations: 1.29 MB / 1.663 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00243/0.9358, allocations: 363.4 kB / 1.664 GB, free: 75.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.9363, allocations: 151.3 kB / 1.664 GB, free: 75.16 MB / 0.8542 GB Notification: Performance of SimCode: time 1.592e-06/0.9363, allocations: 0 / 1.664 GB, free: 75.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.07202/1.008, allocations: 37.46 MB / 1.7 GB, free: 38.28 MB / 0.8542 GB