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.002649/0.002649, allocations: 357 kB / 16.58 MB, free: 5.57 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.444/1.444, allocations: 165.8 MB / 183.1 MB, free: 5.398 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.699/3.699, allocations: 410.8 MB / 0.6001 GB, free: 15.07 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.001752/0.001752, allocations: 194 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006575, allocations: 15.94 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4091, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.743, allocations: 386.9 MB / 1.187 GB, free: 155.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/1.743, allocations: 97.42 kB / 1.187 GB, free: 155.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.585/4.328, allocations: 0.5463 GB / 1.733 GB, free: 70.89 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.274e-06/4.329, allocations: 0 / 1.733 GB, free: 70.89 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002036/4.329, allocations: 46.78 kB / 1.733 GB, free: 70.88 MB / 0.573 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.006832/4.336, allocations: 2.241 MB / 1.735 GB, free: 69.26 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/4.336, allocations: 11.05 kB / 1.735 GB, free: 69.25 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009331/4.345, allocations: 0.6816 MB / 1.736 GB, free: 68.99 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/4.351, allocations: 1.82 MB / 1.738 GB, free: 67.55 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/4.351, allocations: 132.1 kB / 1.738 GB, free: 67.41 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/4.351, allocations: 127.9 kB / 1.738 GB, free: 67.29 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007115/4.358, allocations: 1.748 MB / 1.74 GB, free: 65.45 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/4.359, allocations: 3.031 kB / 1.74 GB, free: 65.45 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/4.359, allocations: 56 kB / 1.74 GB, free: 65.39 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/4.359, allocations: 32 kB / 1.74 GB, free: 65.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00914/4.368, allocations: 1.543 MB / 1.741 GB, free: 63.83 MB / 0.573 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.01633/4.384, allocations: 7.485 MB / 1.749 GB, free: 56.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/4.392, allocations: 1.24 MB / 1.75 GB, free: 54.84 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/4.396, allocations: 0.6396 MB / 1.75 GB, free: 54.19 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/4.398, allocations: 1.27 MB / 1.752 GB, free: 52.64 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004149/4.402, allocations: 0.7506 MB / 1.752 GB, free: 51.89 MB / 0.573 GB Notification: Performance of pre-optimization done (n=80): time 4.459e-06/4.402, allocations: 3.938 kB / 1.752 GB, free: 51.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=80): time 0.04486/4.447, allocations: 3.861 MB / 1.756 GB, free: 47.99 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/4.447, allocations: 166.9 kB / 1.756 GB, free: 47.79 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/4.45, allocations: 1.27 MB / 1.757 GB, free: 46.51 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003683/4.45, allocations: 45.7 kB / 1.758 GB, free: 46.46 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/4.451, allocations: 0.7265 MB / 1.758 GB, free: 45.73 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/4.451, allocations: 279.6 kB / 1.759 GB, free: 45.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/4.451, allocations: 20 kB / 1.759 GB, free: 45.44 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/4.452, allocations: 341.9 kB / 1.759 GB, free: 45.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003807/4.455, allocations: 0.5406 MB / 1.759 GB, free: 44.55 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/4.459, allocations: 0.8544 MB / 1.76 GB, free: 43.58 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/4.463, allocations: 0.5948 MB / 1.761 GB, free: 42.99 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/4.463, allocations: 4 kB / 1.761 GB, free: 42.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009321/4.473, allocations: 1.695 MB / 1.762 GB, free: 41.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/4.473, allocations: 269.6 kB / 1.763 GB, free: 40.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/4.473, allocations: 7.938 kB / 1.763 GB, free: 40.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/4.476, allocations: 0.5718 MB / 1.763 GB, free: 40.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/4.479, allocations: 243.6 kB / 1.764 GB, free: 40.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/4.482, allocations: 1.185 MB / 1.765 GB, free: 38.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/4.486, allocations: 237.7 kB / 1.765 GB, free: 38.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/4.486, allocations: 59.94 kB / 1.765 GB, free: 38.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/4.486, allocations: 4 kB / 1.765 GB, free: 38.62 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008487/4.495, allocations: 1.508 MB / 1.766 GB, free: 37.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/4.495, allocations: 4 kB / 1.766 GB, free: 37.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/4.498, allocations: 0.5687 MB / 1.767 GB, free: 36.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/4.5, allocations: 243.6 kB / 1.767 GB, free: 36.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/4.503, allocations: 1.181 MB / 1.768 GB, free: 35.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/4.507, allocations: 211.1 kB / 1.769 GB, free: 34.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/4.507, allocations: 59.94 kB / 1.769 GB, free: 34.83 MB / 0.573 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 (83): * Single equations (assignments): 82 * 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.001281/4.509, allocations: 473.8 kB / 1.769 GB, free: 34.36 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/4.509, allocations: 146.2 kB / 1.769 GB, free: 34.21 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009393/4.518, allocations: 1.68 MB / 1.771 GB, free: 32.52 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/4.519, allocations: 8 kB / 1.771 GB, free: 32.51 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/4.519, allocations: 0 / 1.771 GB, free: 32.51 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008381/4.527, allocations: 1.5 MB / 1.772 GB, free: 30.97 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/4.541, allocations: 3.82 MB / 1.776 GB, free: 26.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/4.541, allocations: 7.938 kB / 1.776 GB, free: 26.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/4.543, allocations: 195.8 kB / 1.776 GB, free: 26.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/4.546, allocations: 0.5545 MB / 1.777 GB, free: 26.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/4.547, allocations: 35.95 kB / 1.777 GB, free: 26.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/4.55, allocations: 1.17 MB / 1.778 GB, free: 25.02 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/4.55, allocations: 2.938 kB / 1.778 GB, free: 25.02 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009102/4.559, allocations: 1.721 MB / 1.78 GB, free: 23.26 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/4.56, allocations: 414.9 kB / 1.78 GB, free: 22.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/4.56, allocations: 16 kB / 1.78 GB, free: 22.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003461/4.564, allocations: 175.7 kB / 1.78 GB, free: 22.64 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/4.564, allocations: 56.53 kB / 1.78 GB, free: 22.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/4.564, allocations: 59.92 kB / 1.78 GB, free: 22.53 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00174/4.566, allocations: 0.8631 MB / 1.781 GB, free: 21.67 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.01e-07/4.566, allocations: 0 / 1.781 GB, free: 21.67 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004178/4.57, allocations: 1.032 MB / 1.782 GB, free: 20.64 MB / 0.573 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 (58): * Single equations (assignments): 53 * 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.003247/4.573, allocations: 1.177 MB / 1.783 GB, free: 19.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01231/4.586, allocations: 2.097 MB / 1.785 GB, free: 17.69 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/4.586, allocations: 4.125 kB / 1.785 GB, free: 17.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004088/4.59, allocations: 0.6846 MB / 1.786 GB, free: 17 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006999/4.597, allocations: 0.788 MB / 1.787 GB, free: 16.24 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009843/4.607, allocations: 3.317 MB / 1.79 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000906/4.608, allocations: 1.302 MB / 1.791 GB, free: 11.55 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00314/4.611, allocations: 388.2 kB / 1.792 GB, free: 11.19 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/4.612, allocations: 139.3 kB / 1.792 GB, free: 11.05 MB / 0.573 GB Notification: Performance of SimCode: time 2.234e-06/4.612, allocations: 0 / 1.792 GB, free: 11.05 MB / 0.573 GB Notification: Performance of Templates: time 0.5412/5.153, allocations: 41.25 MB / 1.832 GB, free: 81.49 MB / 0.5886 GB