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.0009369/0.0009368, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.008596/0.008596, allocations: 169.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.935/1.935, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005084/0.0005084, allocations: 14.66 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.25, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5555/0.8056, allocations: 123.3 MB / 0.9083 GB, free: 77.03 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02047/0.8261, allocations: 15.18 MB / 0.9231 GB, free: 76.79 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.8294, allocations: 66.81 kB / 0.9232 GB, free: 76.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.8332, allocations: 0.7889 MB / 0.924 GB, free: 76.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009518/0.8428, allocations: 2.382 MB / 0.9263 GB, free: 76.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.8501, allocations: 1.911 MB / 0.9281 GB, free: 76.61 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009585/0.8597, allocations: 5.979 MB / 0.934 GB, free: 75.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/0.8637, allocations: 1.353 MB / 0.9353 GB, free: 75.63 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005032/0.8688, allocations: 1.487 MB / 0.9368 GB, free: 75.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.873, allocations: 1.25 MB / 0.938 GB, free: 75.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008874/0.8739, allocations: 70.66 kB / 0.938 GB, free: 75.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/0.8801, allocations: 1.807 MB / 0.9398 GB, free: 74.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009705/0.8811, allocations: 358.3 kB / 0.9402 GB, free: 74.4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.8837, allocations: 0.9489 MB / 0.9411 GB, free: 73.85 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007667/0.8914, allocations: 3.527 MB / 0.9445 GB, free: 72.96 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8915, allocations: 0 / 0.9445 GB, free: 72.96 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8915, allocations: 0 / 0.9445 GB, free: 72.96 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001035/0.8916, allocations: 5.156 kB / 0.9445 GB, free: 72.96 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.005134/0.8967, allocations: 2.057 MB / 0.9465 GB, free: 71.62 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8968, allocations: 9.875 kB / 0.9465 GB, free: 71.62 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006084/0.9029, allocations: 0.7587 MB / 0.9473 GB, free: 71.46 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.9066, allocations: 1.651 MB / 0.9489 GB, free: 70.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.9068, allocations: 132 kB / 0.949 GB, free: 70.11 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.9071, allocations: 129.9 kB / 0.9491 GB, free: 70.06 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004525/0.9117, allocations: 1.741 MB / 0.9508 GB, free: 68.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.9117, allocations: 9.281 kB / 0.9509 GB, free: 68.92 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.9119, allocations: 54.5 kB / 0.9509 GB, free: 68.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.912, allocations: 37.91 kB / 0.9509 GB, free: 68.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/0.9169, allocations: 1.535 MB / 0.9524 GB, free: 68.11 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.01058/0.9275, allocations: 7.57 MB / 0.9598 GB, free: 61.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.9315, allocations: 1.19 MB / 0.961 GB, free: 61 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.9335, allocations: 0.6024 MB / 0.9616 GB, free: 60.71 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.9347, allocations: 1.282 MB / 0.9628 GB, free: 59.24 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002145/0.9368, allocations: 0.7096 MB / 0.9635 GB, free: 58.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/0.9368, allocations: 4 kB / 0.9635 GB, free: 58.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.01788/0.9547, allocations: 3.259 MB / 0.9667 GB, free: 57.22 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.9548, allocations: 139 kB / 0.9669 GB, free: 57.06 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.9565, allocations: 1.271 MB / 0.9681 GB, free: 56.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.9566, allocations: 46.36 kB / 0.9681 GB, free: 56.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/0.9571, allocations: 0.72 MB / 0.9688 GB, free: 55.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.9573, allocations: 280.8 kB / 0.9691 GB, free: 55.45 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9575, allocations: 81.55 kB / 0.9692 GB, free: 55.39 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.9575, allocations: 347.9 kB / 0.9695 GB, free: 55.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.9595, allocations: 0.5305 MB / 0.97 GB, free: 54.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.9615, allocations: 0.8245 MB / 0.9708 GB, free: 54.19 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.9652, allocations: 1.26 MB / 0.9721 GB, free: 53.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.9653, allocations: 0 / 0.9721 GB, free: 53.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005013/0.9703, allocations: 1.688 MB / 0.9737 GB, free: 52.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.9704, allocations: 273.9 kB / 0.974 GB, free: 52.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9704, allocations: 3.906 kB / 0.974 GB, free: 52.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.9723, allocations: 0.562 MB / 0.9745 GB, free: 52.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.9736, allocations: 256.8 kB / 0.9748 GB, free: 51.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.9754, allocations: 1.181 MB / 0.9759 GB, free: 51.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.9778, allocations: 242.3 kB / 0.9762 GB, free: 50.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.978, allocations: 54.42 kB / 0.9762 GB, free: 50.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.978, allocations: 3.125 kB / 0.9762 GB, free: 50.93 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005022/0.983, allocations: 1.516 MB / 0.9777 GB, free: 50.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.9831, allocations: 4 kB / 0.9777 GB, free: 50.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.985, allocations: 0.5633 MB / 0.9783 GB, free: 49.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.9864, allocations: 251.6 kB / 0.9785 GB, free: 49.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.9882, allocations: 1.178 MB / 0.9796 GB, free: 48.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.9911, allocations: 234.9 kB / 0.9799 GB, free: 47.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.9914, allocations: 55.95 kB / 0.9799 GB, free: 47.75 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001524/0.9929, allocations: 468.9 kB / 0.9804 GB, free: 47.28 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.9935, allocations: 154.2 kB / 0.9805 GB, free: 47.13 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.006, allocations: 2.162 MB / 0.9826 GB, free: 44.96 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/1.006, allocations: 11.98 kB / 0.9826 GB, free: 44.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.006, allocations: 3.938 kB / 0.9826 GB, free: 44.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01185/1.018, allocations: 1.995 MB / 0.9846 GB, free: 42.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/1.026, allocations: 3.686 MB / 0.9882 GB, free: 39.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/1.026, allocations: 4 kB / 0.9882 GB, free: 39.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.027, allocations: 175.9 kB / 0.9884 GB, free: 38.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/1.029, allocations: 0.5628 MB / 0.9889 GB, free: 38.35 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.511e-05/1.029, allocations: 31.94 kB / 0.9889 GB, free: 38.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/1.031, allocations: 1.158 MB / 0.9901 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.031, allocations: 4 kB / 0.9901 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004914/1.036, allocations: 1.624 MB / 0.9917 GB, free: 35.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.037, allocations: 410.9 kB / 0.992 GB, free: 35.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.037, allocations: 24 kB / 0.9921 GB, free: 35.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.039, allocations: 159.7 kB / 0.9922 GB, free: 34.88 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.039, allocations: 60.45 kB / 0.9923 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.039, allocations: 51.92 kB / 0.9923 GB, free: 34.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001111/1.04, allocations: 0.8671 MB / 0.9932 GB, free: 33.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/1.04, allocations: 0 / 0.9932 GB, free: 33.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002731/1.043, allocations: 0.9587 MB / 0.9941 GB, free: 32.94 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001964/1.045, allocations: 0.8741 MB / 0.995 GB, free: 32.28 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006512/1.052, allocations: 2.061 MB / 0.997 GB, free: 30.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.052, allocations: 4 kB / 0.997 GB, free: 30.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/1.054, allocations: 0.6322 MB / 0.9976 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.058, allocations: 0.7634 MB / 0.9983 GB, free: 28.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/1.064, allocations: 3.39 MB / 1.002 GB, free: 25.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/1.065, allocations: 1.259 MB / 1.003 GB, free: 24.12 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002138/1.067, allocations: 366.7 kB / 1.003 GB, free: 23.76 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/1.067, allocations: 147.2 kB / 1.003 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/1.067, allocations: 4 kB / 1.003 GB, free: 23.61 MB / 0.7169 GB Notification: Performance of Templates: time 0.05628/1.124, allocations: 38.44 MB / 1.041 GB, free: 1.699 MB / 0.7325 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: