Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001343/0.001344, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001797/0.001798, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005167/0.0005167, allocations: 19.59 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5571, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1023/0.6595, allocations: 105.5 MB / 0.831 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01969/0.6792, allocations: 13.21 MB / 0.8439 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.6819, allocations: 59.56 kB / 0.8439 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.6847, allocations: 0.82 MB / 0.8447 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007067/0.6918, allocations: 2.232 MB / 0.8469 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006028/0.6978, allocations: 1.974 MB / 0.8489 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007252/0.7051, allocations: 2.713 MB / 0.8515 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.7083, allocations: 1.224 MB / 0.8527 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.7121, allocations: 1.3 MB / 0.854 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.7139, allocations: 0.8594 MB / 0.8548 GB, free: 9.277 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.7141, allocations: 68 kB / 0.8549 GB, free: 9.211 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.7179, allocations: 1.318 MB / 0.8562 GB, free: 7.891 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.7184, allocations: 326.7 kB / 0.8565 GB, free: 7.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006679/0.7191, allocations: 412.8 kB / 0.8569 GB, free: 7.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003716/0.7228, allocations: 2.615 MB / 0.8594 GB, free: 4.539 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.7228, allocations: 0 / 0.8594 GB, free: 4.539 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7228, allocations: 0 / 0.8594 GB, free: 4.539 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.7228, allocations: 4 kB / 0.8594 GB, free: 4.535 MB / 0.67 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.003729/0.7266, allocations: 2.065 MB / 0.8614 GB, free: 2.398 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.7266, allocations: 8.031 kB / 0.8614 GB, free: 2.391 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005471/0.7321, allocations: 0.7508 MB / 0.8622 GB, free: 1.637 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.7351, allocations: 1.538 MB / 0.8637 GB, free: 44 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.7353, allocations: 136.1 kB / 0.8638 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.7356, allocations: 128 kB / 0.8639 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/0.7394, allocations: 1.716 MB / 0.8656 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.7395, allocations: 0 / 0.8656 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.7396, allocations: 52 kB / 0.8657 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.7397, allocations: 43.95 kB / 0.8657 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004594/0.7443, allocations: 1.527 MB / 0.8672 GB, free: 12.33 MB / 0.6856 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.009944/0.7542, allocations: 7.584 MB / 0.8746 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.7582, allocations: 1.182 MB / 0.8757 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.7596, allocations: 1.279 MB / 0.877 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.7617, allocations: 0.6874 MB / 0.8777 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/0.7617, allocations: 0 / 0.8777 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.01737/0.7791, allocations: 3.23 MB / 0.8808 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.7792, allocations: 137.2 kB / 0.881 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.7813, allocations: 1.306 MB / 0.8822 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.7815, allocations: 49.7 kB / 0.8823 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.7822, allocations: 0.7192 MB / 0.883 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.7825, allocations: 276 kB / 0.8832 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.7826, allocations: 20 kB / 0.8833 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7827, allocations: 349.8 kB / 0.8836 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.7846, allocations: 0.5289 MB / 0.8841 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.7868, allocations: 0.8061 MB / 0.8849 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.7888, allocations: 0.5729 MB / 0.8855 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.7888, allocations: 4 kB / 0.8855 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005211/0.794, allocations: 1.668 MB / 0.8871 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000904/0.7949, allocations: 2.404 MB / 0.8894 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.795, allocations: 4 kB / 0.8894 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.797, allocations: 0.5688 MB / 0.89 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.7983, allocations: 247.6 kB / 0.8902 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.8003, allocations: 1.17 MB / 0.8914 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.8025, allocations: 254.6 kB / 0.8916 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.8026, allocations: 55.95 kB / 0.8917 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8027, allocations: 4 kB / 0.8917 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004617/0.8073, allocations: 1.508 MB / 0.8931 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8073, allocations: 8 kB / 0.8932 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.8091, allocations: 0.5476 MB / 0.8937 GB, free: 96 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.8104, allocations: 243.6 kB / 0.8939 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.8124, allocations: 1.178 MB / 0.8951 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.8145, allocations: 227 kB / 0.8953 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8146, allocations: 55.89 kB / 0.8953 GB, free: 14.38 MB / 0.7169 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.0009695/0.8156, allocations: 479.6 kB / 0.8958 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.8159, allocations: 146.2 kB / 0.8959 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.828, allocations: 2.172 MB / 0.8981 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.828, allocations: 8 kB / 0.8981 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.8281, allocations: 4 kB / 0.8981 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01193/0.84, allocations: 1.997 MB / 0.9 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008434/0.8485, allocations: 3.668 MB / 0.9036 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.8485, allocations: 4 kB / 0.9036 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.8496, allocations: 175.9 kB / 0.9038 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.8514, allocations: 0.5395 MB / 0.9043 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/0.8515, allocations: 31.89 kB / 0.9043 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.8534, allocations: 1.166 MB / 0.9055 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8535, allocations: 0 / 0.9055 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/0.8584, allocations: 1.699 MB / 0.9071 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/0.8593, allocations: 414.9 kB / 0.9075 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.8596, allocations: 16 kB / 0.9075 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.8612, allocations: 163.7 kB / 0.9077 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.8614, allocations: 56.53 kB / 0.9078 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.8615, allocations: 55.94 kB / 0.9078 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001311/0.8628, allocations: 0.8944 MB / 0.9087 GB, free: 344 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8628, allocations: 0 / 0.9087 GB, free: 344 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.4791/1.342, allocations: 1.009 MB / 0.9097 GB, free: 174.6 MB / 0.7169 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.002491/1.344, allocations: 0.9373 MB / 0.9106 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007873/1.352, allocations: 2.034 MB / 0.9126 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.352, allocations: 9.031 kB / 0.9126 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002415/1.355, allocations: 0.6335 MB / 0.9132 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.359, allocations: 0.7481 MB / 0.9139 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/1.368, allocations: 3.226 MB / 0.9171 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/1.37, allocations: 1.288 MB / 0.9183 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003117/1.373, allocations: 360 kB / 0.9187 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/1.373, allocations: 147 kB / 0.9188 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.352e-06/1.373, allocations: 0 / 0.9188 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.05123/1.425, allocations: 38.09 MB / 0.956 GB, free: 141.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: