Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 100 kB / 15.05 MB, free: 1.105 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.001101/0.001101, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.352/2.352, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8395/0.8399, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1012/0.9411, allocations: 105.5 MB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.9606, allocations: 13.15 MB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.9635, allocations: 63.56 kB / 1.097 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.9665, allocations: 0.82 MB / 1.098 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007467/0.974, allocations: 2.282 MB / 1.1 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006186/0.9802, allocations: 1.98 MB / 1.102 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005646/0.9858, allocations: 2.752 MB / 1.104 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.9883, allocations: 1.254 MB / 1.106 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.9914, allocations: 1.312 MB / 1.107 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.9932, allocations: 0.8672 MB / 1.108 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004344/0.9937, allocations: 72 kB / 1.108 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/0.9973, allocations: 1.213 MB / 1.109 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000637/0.998, allocations: 338.6 kB / 1.109 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008576/0.9989, allocations: 412.8 kB / 1.11 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003896/1.003, allocations: 2.576 MB / 1.112 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/1.003, allocations: 0 / 1.112 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.064e-06/1.003, allocations: 0 / 1.112 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001023/1.003, allocations: 0 / 1.112 GB, free: 15.35 MB / 0.8731 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.004618/1.008, allocations: 2.034 MB / 1.114 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.008, allocations: 12.03 kB / 1.114 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004816/1.008, allocations: 189.8 kB / 1.114 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/1.014, allocations: 0.7508 MB / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/1.017, allocations: 1.558 MB / 1.117 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/1.017, allocations: 124.2 kB / 1.117 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/1.018, allocations: 132 kB / 1.117 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/1.022, allocations: 1.728 MB / 1.119 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/1.022, allocations: 7.875 kB / 1.119 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/1.023, allocations: 56 kB / 1.119 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/1.023, allocations: 35.98 kB / 1.119 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004774/1.028, allocations: 1.523 MB / 1.12 GB, free: 6.953 MB / 0.8731 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.01138/1.039, allocations: 7.603 MB / 1.128 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/1.043, allocations: 1.191 MB / 1.129 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/1.044, allocations: 1.271 MB / 1.13 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/1.046, allocations: 0.703 MB / 1.131 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=80): time 3.145e-06/1.046, allocations: 0 / 1.131 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of matching and sorting (n=80): time 0.01689/1.063, allocations: 3.222 MB / 1.134 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.063, allocations: 141.2 kB / 1.134 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.065, allocations: 1.305 MB / 1.135 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.066, allocations: 49.7 kB / 1.135 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/1.066, allocations: 0.7231 MB / 1.136 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/1.066, allocations: 288 kB / 1.136 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/1.067, allocations: 16 kB / 1.136 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.067, allocations: 341.9 kB / 1.137 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/1.069, allocations: 0.525 MB / 1.137 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/1.071, allocations: 0.8022 MB / 1.138 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/1.073, allocations: 0.5807 MB / 1.139 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/1.073, allocations: 4 kB / 1.139 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005043/1.078, allocations: 1.668 MB / 1.14 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007937/1.078, allocations: 2.413 MB / 1.143 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.078, allocations: 8 kB / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/1.08, allocations: 0.5629 MB / 1.143 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.082, allocations: 247.6 kB / 1.143 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/1.083, allocations: 1.186 MB / 1.145 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.085, allocations: 240.3 kB / 1.145 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.086, allocations: 51.95 kB / 1.145 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.086, allocations: 4 kB / 1.145 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004512/1.09, allocations: 1.512 MB / 1.146 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.09, allocations: 8.062 kB / 1.146 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/1.092, allocations: 0.5759 MB / 1.147 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.093, allocations: 247.6 kB / 1.147 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/1.095, allocations: 1.174 MB / 1.148 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.097, allocations: 226.9 kB / 1.148 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.097, allocations: 55.95 kB / 1.148 GB, free: 8.926 MB / 0.9044 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 (91): * Single equations (assignments): 90 * 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.0008283/1.098, allocations: 476.9 kB / 1.149 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/1.098, allocations: 154.2 kB / 1.149 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.11, allocations: 2.154 MB / 1.151 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.11, allocations: 8 kB / 1.151 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.11, allocations: 0 / 1.151 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01083/1.121, allocations: 2.001 MB / 1.153 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007171/1.128, allocations: 3.688 MB / 1.157 GB, free: 228 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.128, allocations: 4 kB / 1.157 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009987/1.129, allocations: 175.9 kB / 1.157 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/1.131, allocations: 0.5475 MB / 1.157 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/1.131, allocations: 43.94 kB / 1.157 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/1.133, allocations: 1.166 MB / 1.159 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.133, allocations: 4 kB / 1.159 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/1.137, allocations: 1.692 MB / 1.16 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/1.138, allocations: 426.8 kB / 1.161 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.138, allocations: 16 kB / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.139, allocations: 163.8 kB / 1.161 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/1.14, allocations: 64.45 kB / 1.161 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.14, allocations: 59.92 kB / 1.161 GB, free: 11.74 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001128/1.141, allocations: 0.8946 MB / 1.162 GB, free: 10.85 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.141, allocations: 4 kB / 1.162 GB, free: 10.84 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002175/1.143, allocations: 0.9743 MB / 1.163 GB, free: 9.867 MB / 0.92 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 (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.006283/1.149, allocations: 3.419 MB / 1.166 GB, free: 6.566 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006152/1.155, allocations: 2.037 MB / 1.168 GB, free: 4.523 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.155, allocations: 4 kB / 1.168 GB, free: 4.52 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.157, allocations: 0.6399 MB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/1.161, allocations: 0.7301 MB / 1.169 GB, free: 3.164 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007424/1.168, allocations: 8.1 MB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/1.169, allocations: 1.29 MB / 1.179 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001578/1.17, allocations: 375.5 kB / 1.179 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/1.171, allocations: 0.6242 MB / 1.18 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/1.171, allocations: 0 / 1.18 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/1.6, allocations: 51.08 MB / 1.23 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.6, allocations: 260.8 kB / 1.23 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.926/5.527, allocations: 7.875 kB / 1.23 GB, free: 5.719 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat does not exist to compare? outputFormat=mat