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.002379/0.002378, allocations: 182.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6156/0.6156, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.842/1.842, allocations: 223.1 MB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001057, allocations: 96.27 kB / 427.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1648, allocations: 72.31 MB / 0.5689 GB, free: 1.598 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.279, allocations: 391.9 MB / 0.9517 GB, free: 75.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.279, allocations: 91.08 kB / 0.9517 GB, free: 75.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.301/3.58, allocations: 0.5685 GB / 1.52 GB, free: 70.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/3.581, allocations: 3.062 kB / 1.52 GB, free: 70.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003668/3.581, allocations: 46.86 kB / 1.52 GB, free: 70.5 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.008096/3.589, allocations: 2.253 MB / 1.522 GB, free: 69.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/3.589, allocations: 9.812 kB / 1.522 GB, free: 69.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000687/3.59, allocations: 187.1 kB / 1.523 GB, free: 69.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005641/3.595, allocations: 0.6839 MB / 1.523 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/3.601, allocations: 1.89 MB / 1.525 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/3.601, allocations: 136.9 kB / 1.525 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/3.601, allocations: 124.8 kB / 1.525 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/3.605, allocations: 1.734 MB / 1.527 GB, free: 68.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/3.605, allocations: 4.688 kB / 1.527 GB, free: 68.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/3.605, allocations: 54.34 kB / 1.527 GB, free: 68.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/3.606, allocations: 60.31 kB / 1.527 GB, free: 68.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005105/3.611, allocations: 1.533 MB / 1.529 GB, free: 68.88 MB / 0.6042 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.01197/3.623, allocations: 7.525 MB / 1.536 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/3.627, allocations: 1.228 MB / 1.537 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/3.629, allocations: 1.267 MB / 1.539 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002701/3.631, allocations: 0.7242 MB / 1.539 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 4.178e-06/3.632, allocations: 0 / 1.539 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.02417/3.656, allocations: 3.583 MB / 1.543 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/3.656, allocations: 163 kB / 1.543 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/3.658, allocations: 1.187 MB / 1.544 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003581/3.659, allocations: 47.11 kB / 1.544 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/3.659, allocations: 0.7359 MB / 1.545 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/3.66, allocations: 276.8 kB / 1.545 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/3.66, allocations: 19.06 kB / 1.545 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/3.66, allocations: 351.2 kB / 1.545 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/3.662, allocations: 0.552 MB / 1.546 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/3.664, allocations: 0.8482 MB / 1.547 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/3.666, allocations: 0.5939 MB / 1.547 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/3.666, allocations: 0 / 1.547 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005316/3.672, allocations: 1.695 MB / 1.549 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006022/3.672, allocations: 2.401 MB / 1.551 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/3.672, allocations: 3.812 kB / 1.551 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/3.674, allocations: 0.5704 MB / 1.552 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/3.676, allocations: 250.6 kB / 1.552 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/3.677, allocations: 1.186 MB / 1.553 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/3.68, allocations: 248.2 kB / 1.554 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/3.68, allocations: 54.19 kB / 1.554 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/3.68, allocations: 4.938 kB / 1.554 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004839/3.685, allocations: 1.506 MB / 1.555 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/3.685, allocations: 12.91 kB / 1.555 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/3.687, allocations: 0.5758 MB / 1.556 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/3.688, allocations: 242.1 kB / 1.556 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/3.69, allocations: 1.168 MB / 1.557 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/3.693, allocations: 226.4 kB / 1.557 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/3.693, allocations: 54.05 kB / 1.557 GB, free: 58.51 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 () * Number of clocked 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.001179/3.694, allocations: 478 kB / 1.558 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/3.694, allocations: 146 kB / 1.558 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/3.699, allocations: 1.676 MB / 1.56 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/3.699, allocations: 7.469 kB / 1.56 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/3.699, allocations: 0 / 1.56 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004349/3.704, allocations: 1.456 MB / 1.561 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007968/3.712, allocations: 3.335 MB / 1.564 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/3.712, allocations: 10.81 kB / 1.564 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/3.713, allocations: 180.9 kB / 1.564 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/3.715, allocations: 0.5534 MB / 1.565 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.146e-05/3.715, allocations: 32.33 kB / 1.565 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/3.717, allocations: 1.167 MB / 1.566 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.717, allocations: 3.25 kB / 1.566 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/3.722, allocations: 1.703 MB / 1.568 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/3.723, allocations: 429.9 kB / 1.568 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/3.723, allocations: 21.69 kB / 1.568 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/3.725, allocations: 161.2 kB / 1.568 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/3.725, allocations: 55.92 kB / 1.568 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/3.725, allocations: 56.16 kB / 1.568 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001429/3.727, allocations: 0.9328 MB / 1.569 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/3.727, allocations: 0.9688 kB / 1.569 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003289/3.73, allocations: 1.075 MB / 1.57 GB, free: 56.14 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) * Number of clocked states: 0 () * 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.007625/3.737, allocations: 3.66 MB / 1.574 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006878/3.744, allocations: 2.071 MB / 1.576 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/3.744, allocations: 4.938 kB / 1.576 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/3.747, allocations: 0.6571 MB / 1.577 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/3.75, allocations: 0.7738 MB / 1.577 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/3.777, allocations: 13.72 MB / 1.591 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/3.778, allocations: 1.299 MB / 1.592 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003988/3.782, allocations: 384.6 kB / 1.592 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/3.783, allocations: 0.639 MB / 1.593 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of SimCode: time 1.392e-06/3.783, allocations: 0 / 1.593 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/3.892, allocations: 57.03 MB / 1.649 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/3.892, allocations: 244.1 kB / 1.649 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.141/8.033, allocations: 7.938 kB / 1.649 GB, free: 43.3 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)