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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 180.9 kB / 8.006 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.5166/0.5166, allocations: 90.91 MB / 99.34 MB, free: 2.23 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.421/1.421, allocations: 221.5 MB / 343.2 MB, free: 1.559 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.0008907/0.0008907, allocations: 101.2 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.084e-05, allocations: 0 / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.2, allocations: 391.2 MB / 0.9356 GB, free: 89.35 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.2, allocations: 92.19 kB / 0.9357 GB, free: 89.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.387/3.587, allocations: 0.5637 GB / 1.499 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/3.587, allocations: 1.125 kB / 1.499 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003076/3.587, allocations: 48.97 kB / 1.499 GB, free: 76.15 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.005906/3.593, allocations: 1.964 MB / 1.501 GB, free: 75.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/3.593, allocations: 9.125 kB / 1.501 GB, free: 75.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/3.598, allocations: 0.6779 MB / 1.502 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/3.602, allocations: 1.882 MB / 1.504 GB, free: 75.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/3.602, allocations: 91.22 kB / 1.504 GB, free: 74.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/3.602, allocations: 74.91 kB / 1.504 GB, free: 74.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002273/3.605, allocations: 1.112 MB / 1.505 GB, free: 74.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/3.607, allocations: 1.384 MB / 1.506 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/3.607, allocations: 8.031 kB / 1.506 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/3.607, allocations: 2.812 kB / 1.506 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.45e-05/3.607, allocations: 49.75 kB / 1.507 GB, free: 74.7 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.0102/3.618, allocations: 7.275 MB / 1.514 GB, free: 71.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/3.619, allocations: 0.8953 MB / 1.515 GB, free: 71.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/3.62, allocations: 450.3 kB / 1.515 GB, free: 71.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/3.621, allocations: 1.274 MB / 1.516 GB, free: 69.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008677/3.622, allocations: 0.5574 MB / 1.517 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 3.577e-06/3.622, allocations: 0 / 1.517 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.00494/3.627, allocations: 1.277 MB / 1.518 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/3.627, allocations: 162.9 kB / 1.518 GB, free: 69.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/3.628, allocations: 1.011 MB / 1.519 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/3.629, allocations: 29.39 kB / 1.519 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/3.629, allocations: 0.7399 MB / 1.52 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/3.629, allocations: 261.9 kB / 1.52 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/3.629, allocations: 0 / 1.52 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/3.63, allocations: 341.5 kB / 1.52 GB, free: 68.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/3.63, allocations: 373.5 kB / 1.521 GB, free: 68.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/3.631, allocations: 0.6608 MB / 1.521 GB, free: 68.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/3.633, allocations: 0.55 MB / 1.522 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/3.633, allocations: 0 / 1.522 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003171/3.636, allocations: 1.363 MB / 1.523 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005958/3.636, allocations: 2.393 MB / 1.526 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/3.636, allocations: 10.28 kB / 1.526 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/3.637, allocations: 425.6 kB / 1.526 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/3.639, allocations: 254.6 kB / 1.526 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/3.64, allocations: 1.156 MB / 1.527 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/3.643, allocations: 214.8 kB / 1.528 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/3.643, allocations: 59.73 kB / 1.528 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/3.643, allocations: 3.938 kB / 1.528 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002895/3.646, allocations: 1.182 MB / 1.529 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/3.646, allocations: 5.625 kB / 1.529 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008478/3.647, allocations: 434.1 kB / 1.529 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/3.648, allocations: 239.8 kB / 1.53 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/3.65, allocations: 1.158 MB / 1.531 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/3.652, allocations: 187.6 kB / 1.531 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/3.652, allocations: 56.3 kB / 1.531 GB, free: 64.54 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.0005117/3.653, allocations: 132.6 kB / 1.531 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005316/3.658, allocations: 1.279 MB / 1.532 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/3.659, allocations: 137.5 kB / 1.532 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/3.662, allocations: 1.288 MB / 1.534 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/3.662, allocations: 13.41 kB / 1.534 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/3.662, allocations: 2.438 kB / 1.534 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00186/3.664, allocations: 1.102 MB / 1.535 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/3.669, allocations: 2.81 MB / 1.537 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/3.669, allocations: 3.5 kB / 1.537 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/3.67, allocations: 181.9 kB / 1.538 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008619/3.671, allocations: 430.9 kB / 1.538 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/3.671, allocations: 33.31 kB / 1.538 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/3.673, allocations: 1.135 MB / 1.539 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/3.673, allocations: 5.188 kB / 1.539 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/3.675, allocations: 1.337 MB / 1.541 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/3.676, allocations: 415.1 kB / 1.541 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/3.677, allocations: 3.938 kB / 1.541 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/3.679, allocations: 158.8 kB / 1.541 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/3.679, allocations: 51.73 kB / 1.541 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/3.679, allocations: 56.69 kB / 1.541 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001356/3.68, allocations: 0.7576 MB / 1.542 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/3.681, allocations: 0 / 1.542 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004145/3.685, allocations: 1.042 MB / 1.543 GB, free: 62.19 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.005713/3.69, allocations: 3.223 MB / 1.546 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002796/3.693, allocations: 1.556 MB / 1.548 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/3.693, allocations: 3.156 kB / 1.548 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008128/3.694, allocations: 0.49 MB / 1.548 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/3.698, allocations: 0.6576 MB / 1.549 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/3.705, allocations: 2.271 MB / 1.551 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009703/3.706, allocations: 1.3 MB / 1.552 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002667/3.708, allocations: 456.3 kB / 1.553 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008432/3.709, allocations: 0.6001 MB / 1.553 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/3.709, allocations: 0 / 1.553 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09482/3.804, allocations: 51.2 MB / 1.603 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/3.804, allocations: 174.2 kB / 1.603 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.852/7.656, allocations: 0 / 1.603 GB, free: 56.64 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)