Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001062/0.001062, allocations: 99.55 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.000935/0.000935, allocations: 177.3 kB / 15.94 MB, free: 228 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.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.558/1.558, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0004976/0.0004976, allocations: 14.16 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.09588/0.3209, allocations: 105.5 MB / 0.8901 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.3384, allocations: 12.91 MB / 0.9027 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.3404, allocations: 63.56 kB / 0.9028 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.3426, allocations: 0.8278 MB / 0.9036 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.3483, allocations: 2.227 MB / 0.9058 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005192/0.3535, allocations: 1.971 MB / 0.9077 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3847/0.7382, allocations: 2.71 MB / 0.9104 GB, free: 69.53 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.7404, allocations: 1.239 MB / 0.9116 GB, free: 69.45 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.7434, allocations: 1.313 MB / 0.9128 GB, free: 69.45 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.7447, allocations: 0.8653 MB / 0.9137 GB, free: 69.45 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.7449, allocations: 72.66 kB / 0.9138 GB, free: 69.45 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.7477, allocations: 1.221 MB / 0.915 GB, free: 69.45 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.748, allocations: 330.7 kB / 0.9153 GB, free: 69.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004358/0.7485, allocations: 425.1 kB / 0.9157 GB, free: 69.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.7516, allocations: 2.562 MB / 0.9182 GB, free: 69.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.7516, allocations: 0 / 0.9182 GB, free: 69.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7516, allocations: 0.7812 kB / 0.9182 GB, free: 69.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-05/0.7517, allocations: 2.906 kB / 0.9182 GB, free: 69.25 MB / 0.7169 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.00332/0.755, allocations: 2.036 MB / 0.9202 GB, free: 68.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.7551, allocations: 8.125 kB / 0.9202 GB, free: 68.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.7601, allocations: 0.7557 MB / 0.9209 GB, free: 67.97 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.7626, allocations: 1.532 MB / 0.9224 GB, free: 67.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.7627, allocations: 132 kB / 0.9225 GB, free: 67.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.7629, allocations: 130 kB / 0.9227 GB, free: 67.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.7667, allocations: 1.727 MB / 0.9243 GB, free: 67.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.7667, allocations: 7 kB / 0.9244 GB, free: 67.29 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.7669, allocations: 52.91 kB / 0.9244 GB, free: 67.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/0.7669, allocations: 40.44 kB / 0.9244 GB, free: 67.28 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/0.772, allocations: 1.524 MB / 0.9259 GB, free: 67.25 MB / 0.7169 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.00986/0.7819, allocations: 7.6 MB / 0.9334 GB, free: 63.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.7857, allocations: 1.189 MB / 0.9345 GB, free: 63.56 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009308/0.7867, allocations: 1.272 MB / 0.9358 GB, free: 62.15 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/0.7887, allocations: 0.7076 MB / 0.9364 GB, free: 62.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 2.635e-06/0.7887, allocations: 0 / 0.9364 GB, free: 62.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.0163/0.805, allocations: 3.225 MB / 0.9396 GB, free: 61.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.8051, allocations: 140.6 kB / 0.9397 GB, free: 61.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.8069, allocations: 1.308 MB / 0.941 GB, free: 61.44 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.807, allocations: 47.92 kB / 0.9411 GB, free: 61.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/0.8076, allocations: 0.7243 MB / 0.9418 GB, free: 61.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.8078, allocations: 276.9 kB / 0.942 GB, free: 60.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.8079, allocations: 21.44 kB / 0.942 GB, free: 60.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.8079, allocations: 338.9 kB / 0.9424 GB, free: 60.65 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.8097, allocations: 0.5256 MB / 0.9429 GB, free: 60.64 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.8117, allocations: 0.8065 MB / 0.9437 GB, free: 60.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.8135, allocations: 0.5737 MB / 0.9442 GB, free: 60.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.8135, allocations: 2.188 kB / 0.9442 GB, free: 60.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004655/0.8182, allocations: 1.677 MB / 0.9459 GB, free: 60.17 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003391/0.8185, allocations: 2.418 MB / 0.9482 GB, free: 57.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.8185, allocations: 10.62 kB / 0.9482 GB, free: 57.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.8203, allocations: 0.5594 MB / 0.9488 GB, free: 57.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.8216, allocations: 255 kB / 0.949 GB, free: 57.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.8232, allocations: 1.177 MB / 0.9502 GB, free: 57.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.8251, allocations: 244.3 kB / 0.9504 GB, free: 57.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.8253, allocations: 57.67 kB / 0.9505 GB, free: 57.05 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.8253, allocations: 8.688 kB / 0.9505 GB, free: 57.05 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004143/0.8294, allocations: 1.507 MB / 0.9519 GB, free: 57.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.8294, allocations: 5.719 kB / 0.952 GB, free: 57.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.8311, allocations: 0.5717 MB / 0.9525 GB, free: 56.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.8322, allocations: 247.3 kB / 0.9527 GB, free: 56.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.8338, allocations: 1.172 MB / 0.9539 GB, free: 56.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.8356, allocations: 237.6 kB / 0.9541 GB, free: 56.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/0.8357, allocations: 55.84 kB / 0.9542 GB, free: 56.3 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.0008946/0.8366, allocations: 475.2 kB / 0.9546 GB, free: 56.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.8369, allocations: 146.4 kB / 0.9548 GB, free: 56.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.8479, allocations: 2.167 MB / 0.9569 GB, free: 55.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.8479, allocations: 8.219 kB / 0.9569 GB, free: 55.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.848, allocations: 7.25 kB / 0.9569 GB, free: 55.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01082/0.8588, allocations: 1.991 MB / 0.9588 GB, free: 54.67 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007511/0.8663, allocations: 3.692 MB / 0.9624 GB, free: 53.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.8664, allocations: 2.469 kB / 0.9624 GB, free: 53.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.8674, allocations: 177.2 kB / 0.9626 GB, free: 52.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/0.869, allocations: 0.5546 MB / 0.9632 GB, free: 52.81 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.8691, allocations: 35.72 kB / 0.9632 GB, free: 52.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.8707, allocations: 1.164 MB / 0.9643 GB, free: 52.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8707, allocations: 4 kB / 0.9643 GB, free: 52.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/0.8751, allocations: 1.7 MB / 0.966 GB, free: 51.53 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/0.8759, allocations: 423 kB / 0.9664 GB, free: 51.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.8761, allocations: 20.73 kB / 0.9664 GB, free: 51.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.8777, allocations: 164 kB / 0.9666 GB, free: 51.21 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.8778, allocations: 51.64 kB / 0.9666 GB, free: 51.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/0.8779, allocations: 57.36 kB / 0.9667 GB, free: 51.17 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001103/0.879, allocations: 0.9055 MB / 0.9676 GB, free: 50.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.879, allocations: 2.734 kB / 0.9676 GB, free: 50.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002296/0.8813, allocations: 0.9656 MB / 0.9685 GB, free: 50.76 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.001607/0.8829, allocations: 0.8772 MB / 0.9694 GB, free: 50.42 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005891/0.8888, allocations: 2.038 MB / 0.9714 GB, free: 50.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8888, allocations: 3.281 kB / 0.9714 GB, free: 50.04 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.8907, allocations: 0.6341 MB / 0.972 GB, free: 49.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/0.8941, allocations: 0.7648 MB / 0.9727 GB, free: 49.64 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.8989, allocations: 3.217 MB / 0.9759 GB, free: 46.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.8995, allocations: 1.291 MB / 0.9771 GB, free: 45.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001597/0.9011, allocations: 376 kB / 0.9775 GB, free: 45.15 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.9014, allocations: 142.9 kB / 0.9776 GB, free: 45.02 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/0.9014, allocations: 0 / 0.9776 GB, free: 45.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.04397/0.9454, allocations: 38.15 MB / 1.015 GB, free: 7.594 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: