Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008848/0.0008851, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4797/0.4797, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009488, allocations: 91.33 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.519e-05, allocations: 4 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1261, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.158, allocations: 391.2 MB / 0.9355 GB, free: 89.93 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/1.158, allocations: 93.69 kB / 0.9356 GB, free: 89.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.212/3.371, allocations: 0.5637 GB / 1.499 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/3.371, allocations: 0 / 1.499 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001735/3.371, allocations: 43.64 kB / 1.499 GB, free: 75.95 MB / 0.6042 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.004101/3.375, allocations: 1.966 MB / 1.501 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/3.375, allocations: 9.375 kB / 1.501 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/3.38, allocations: 0.6728 MB / 1.502 GB, free: 75.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/3.384, allocations: 1.883 MB / 1.504 GB, free: 74.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/3.384, allocations: 88.8 kB / 1.504 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/3.384, allocations: 73.28 kB / 1.504 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002237/3.386, allocations: 1.108 MB / 1.505 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/3.389, allocations: 1.39 MB / 1.506 GB, free: 74.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/3.389, allocations: 3.844 kB / 1.506 GB, free: 74.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/3.389, allocations: 3.969 kB / 1.506 GB, free: 74.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/3.389, allocations: 56.91 kB / 1.506 GB, free: 74.49 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.01003/3.399, allocations: 7.273 MB / 1.514 GB, free: 71.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/3.4, allocations: 0.8964 MB / 1.514 GB, free: 71.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/3.401, allocations: 450.7 kB / 1.515 GB, free: 71.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/3.402, allocations: 1.273 MB / 1.516 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009205/3.403, allocations: 0.5485 MB / 1.517 GB, free: 69.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 3.426e-06/3.403, allocations: 0.9688 kB / 1.517 GB, free: 69.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.005009/3.408, allocations: 1.284 MB / 1.518 GB, free: 69.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/3.408, allocations: 164.1 kB / 1.518 GB, free: 69.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/3.41, allocations: 1.008 MB / 1.519 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/3.41, allocations: 29.48 kB / 1.519 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/3.41, allocations: 0.7366 MB / 1.52 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/3.411, allocations: 266.5 kB / 1.52 GB, free: 68.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/3.411, allocations: 0 / 1.52 GB, free: 68.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/3.411, allocations: 349.8 kB / 1.52 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/3.411, allocations: 380.2 kB / 1.521 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/3.412, allocations: 0.6615 MB / 1.521 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/3.414, allocations: 0.5438 MB / 1.522 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/3.414, allocations: 0 / 1.522 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002956/3.417, allocations: 1.363 MB / 1.523 GB, free: 68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004426/3.417, allocations: 2.395 MB / 1.526 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/3.417, allocations: 7.688 kB / 1.526 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009041/3.418, allocations: 429.8 kB / 1.526 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/3.419, allocations: 246 kB / 1.526 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/3.421, allocations: 1.157 MB / 1.527 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/3.423, allocations: 211.8 kB / 1.528 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/3.423, allocations: 62.77 kB / 1.528 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/3.423, allocations: 3.344 kB / 1.528 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002764/3.426, allocations: 1.187 MB / 1.529 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/3.426, allocations: 7.031 kB / 1.529 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/3.426, allocations: 433.7 kB / 1.529 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/3.428, allocations: 235.7 kB / 1.529 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/3.429, allocations: 1.153 MB / 1.531 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/3.431, allocations: 192.1 kB / 1.531 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/3.431, allocations: 55.81 kB / 1.531 GB, free: 64.34 MB / 0.6042 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 () * 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.0003639/3.431, allocations: 137.3 kB / 1.531 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/3.432, allocations: 139.2 kB / 1.531 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/3.434, allocations: 1.291 MB / 1.532 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/3.434, allocations: 9.984 kB / 1.532 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/3.434, allocations: 3.781 kB / 1.532 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/3.436, allocations: 1.098 MB / 1.533 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/3.441, allocations: 2.82 MB / 1.536 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/3.441, allocations: 0 / 1.536 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/3.442, allocations: 184.8 kB / 1.536 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008083/3.443, allocations: 426 kB / 1.537 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/3.443, allocations: 25.77 kB / 1.537 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/3.444, allocations: 1.145 MB / 1.538 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/3.444, allocations: 0 / 1.538 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/3.446, allocations: 1.335 MB / 1.539 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/3.447, allocations: 411.1 kB / 1.54 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/3.447, allocations: 3.938 kB / 1.54 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/3.449, allocations: 158.1 kB / 1.54 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/3.449, allocations: 48.39 kB / 1.54 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/3.449, allocations: 60.45 kB / 1.54 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009781/3.45, allocations: 0.7563 MB / 1.541 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.45, allocations: 0 / 1.541 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002971/3.453, allocations: 1.039 MB / 1.542 GB, free: 62.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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.002225/3.455, allocations: 1.178 MB / 1.543 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002585/3.458, allocations: 1.56 MB / 1.544 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/3.458, allocations: 0 / 1.544 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007101/3.458, allocations: 0.4887 MB / 1.545 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/3.462, allocations: 0.658 MB / 1.545 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/3.465, allocations: 1.878 MB / 1.547 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/3.466, allocations: 1.3 MB / 1.548 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002175/3.468, allocations: 457.8 kB / 1.549 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/3.468, allocations: 109 kB / 1.549 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.244e-06/3.468, allocations: 0 / 1.549 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.0582/3.527, allocations: 38.36 MB / 1.586 GB, free: 58.52 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)