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.001389/0.001389, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5433/0.5433, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.285/1.285, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.0009659, allocations: 102.9 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.634e-05, allocations: 4 kB / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3663, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.468, allocations: 391.8 MB / 0.943 GB, free: 230.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.468, allocations: 87.97 kB / 0.9431 GB, free: 230.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.971/3.439, allocations: 0.5666 GB / 1.51 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/3.439, allocations: 0 / 1.51 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001821/3.44, allocations: 47.47 kB / 1.51 GB, free: 83.39 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.004696/3.444, allocations: 1.965 MB / 1.512 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/3.444, allocations: 15 kB / 1.512 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002553/3.445, allocations: 189 kB / 1.512 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/3.449, allocations: 0.6795 MB / 1.512 GB, free: 82.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/3.453, allocations: 1.876 MB / 1.514 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/3.453, allocations: 137.1 kB / 1.514 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/3.453, allocations: 124.7 kB / 1.515 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/3.456, allocations: 1.563 MB / 1.516 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/3.456, allocations: 3 kB / 1.516 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/3.456, allocations: 56.12 kB / 1.516 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/3.456, allocations: 54.05 kB / 1.516 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/3.458, allocations: 1.192 MB / 1.517 GB, free: 81.53 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.009191/3.467, allocations: 7.517 MB / 1.525 GB, free: 78.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/3.469, allocations: 0.9335 MB / 1.526 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/3.47, allocations: 475.7 kB / 1.526 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/3.471, allocations: 1.276 MB / 1.527 GB, free: 76.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/3.472, allocations: 0.5768 MB / 1.528 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 3.266e-06/3.472, allocations: 0 / 1.528 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79): time 0.003654/3.475, allocations: 1.216 MB / 1.529 GB, free: 76.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/3.475, allocations: 162.4 kB / 1.529 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/3.477, allocations: 1.16 MB / 1.53 GB, free: 76.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/3.477, allocations: 50.27 kB / 1.53 GB, free: 76.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/3.478, allocations: 0.733 MB / 1.531 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/3.478, allocations: 275.3 kB / 1.531 GB, free: 75.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/3.478, allocations: 15.41 kB / 1.531 GB, free: 75.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/3.478, allocations: 344.5 kB / 1.532 GB, free: 75.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/3.479, allocations: 386.7 kB / 1.532 GB, free: 75.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/3.479, allocations: 0.6808 MB / 1.533 GB, free: 74.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/3.48, allocations: 438.9 kB / 1.533 GB, free: 74.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/3.48, allocations: 3.844 kB / 1.533 GB, free: 74.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002147/3.482, allocations: 1.325 MB / 1.534 GB, free: 73.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005344/3.483, allocations: 2.398 MB / 1.537 GB, free: 71.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/3.483, allocations: 11.67 kB / 1.537 GB, free: 71.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/3.484, allocations: 0.5123 MB / 1.537 GB, free: 71.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/3.485, allocations: 247.9 kB / 1.538 GB, free: 71.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/3.487, allocations: 1.091 MB / 1.539 GB, free: 70.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/3.489, allocations: 245.5 kB / 1.539 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/3.489, allocations: 55.11 kB / 1.539 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/3.489, allocations: 3.812 kB / 1.539 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001922/3.491, allocations: 1.158 MB / 1.54 GB, free: 70.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/3.491, allocations: 11.3 kB / 1.54 GB, free: 70.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/3.492, allocations: 0.5131 MB / 1.541 GB, free: 70 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/3.494, allocations: 236.4 kB / 1.541 GB, free: 70 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/3.495, allocations: 1.093 MB / 1.542 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/3.497, allocations: 222.1 kB / 1.542 GB, free: 69.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/3.497, allocations: 57.48 kB / 1.542 GB, free: 69.16 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.00036/3.497, allocations: 173.5 kB / 1.542 GB, free: 69.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/3.497, allocations: 147.7 kB / 1.542 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/3.5, allocations: 1.349 MB / 1.544 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/3.5, allocations: 11.2 kB / 1.544 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/3.5, allocations: 0 / 1.544 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/3.502, allocations: 1.123 MB / 1.545 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/3.507, allocations: 3.011 MB / 1.548 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/3.507, allocations: 0 / 1.548 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/3.508, allocations: 187.9 kB / 1.548 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/3.509, allocations: 0.4893 MB / 1.548 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.014e-05/3.509, allocations: 41.69 kB / 1.548 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/3.511, allocations: 1.075 MB / 1.549 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/3.511, allocations: 3.594 kB / 1.549 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/3.513, allocations: 1.368 MB / 1.551 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/3.514, allocations: 423.9 kB / 1.551 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/3.514, allocations: 19.34 kB / 1.551 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/3.516, allocations: 162.9 kB / 1.551 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/3.516, allocations: 59.95 kB / 1.551 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/3.516, allocations: 54.45 kB / 1.552 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001527/3.518, allocations: 0.9043 MB / 1.552 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/3.518, allocations: 0 / 1.552 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003952/3.522, allocations: 1.077 MB / 1.553 GB, free: 63.84 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.006689/3.528, allocations: 3.279 MB / 1.557 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00348/3.532, allocations: 1.643 MB / 1.558 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/3.532, allocations: 3.781 kB / 1.558 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/3.533, allocations: 0.5157 MB / 1.559 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/3.537, allocations: 0.7655 MB / 1.56 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/3.544, allocations: 2.376 MB / 1.562 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/3.545, allocations: 1.3 MB / 1.563 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002643/3.548, allocations: 487.9 kB / 1.564 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008198/3.548, allocations: 0.6038 MB / 1.564 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/3.548, allocations: 0 / 1.564 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09572/3.644, allocations: 59.57 MB / 1.622 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/3.644, allocations: 222.4 kB / 1.623 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.129/7.773, allocations: 8 kB / 1.623 GB, free: 1.516 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)