Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001287, allocations: 176.2 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.000975, allocations: 102.2 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.037e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3055, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.642, allocations: 448.4 MB / 1.65 GB, free: 14.97 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.642, allocations: 85.39 kB / 1.65 GB, free: 14.93 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 2.061/3.704, allocations: 0.525 GB / 2.175 GB, free: 22.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/3.704, allocations: 0 / 2.175 GB, free: 22.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002701/3.704, allocations: 47.92 kB / 2.175 GB, free: 22.76 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005719/3.71, allocations: 1.906 MB / 2.177 GB, free: 20.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/3.71, allocations: 12.03 kB / 2.177 GB, free: 20.79 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/3.712, allocations: 321.5 kB / 2.178 GB, free: 20.47 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005113/3.717, allocations: 1.66 MB / 2.179 GB, free: 18.76 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/3.717, allocations: 121.4 kB / 2.179 GB, free: 18.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004391/3.718, allocations: 64 kB / 2.179 GB, free: 18.56 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002695/3.721, allocations: 0.9843 MB / 2.18 GB, free: 17.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/3.724, allocations: 1.133 MB / 2.181 GB, free: 16.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/3.724, allocations: 8 kB / 2.181 GB, free: 16.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/3.724, allocations: 0 / 2.181 GB, free: 16.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/3.724, allocations: 53.92 kB / 2.181 GB, free: 16.3 MB / 1.151 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.01016/3.734, allocations: 6.711 MB / 2.188 GB, free: 9.086 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/3.735, allocations: 0.586 MB / 2.189 GB, free: 8.492 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/3.736, allocations: 378.5 kB / 2.189 GB, free: 8.121 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/3.736, allocations: 0.8316 MB / 2.19 GB, free: 7.102 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/3.737, allocations: 39.12 kB / 2.19 GB, free: 7.055 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 4.589e-06/3.737, allocations: 4 kB / 2.19 GB, free: 7.051 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.001922/3.738, allocations: 0.8136 MB / 2.191 GB, free: 6.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/3.739, allocations: 115.4 kB / 2.191 GB, free: 6.094 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/3.74, allocations: 1.145 MB / 2.192 GB, free: 4.941 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/3.741, allocations: 25.7 kB / 2.192 GB, free: 4.91 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/3.741, allocations: 0.7619 MB / 2.193 GB, free: 4.141 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/3.741, allocations: 212.8 kB / 2.193 GB, free: 3.93 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/3.741, allocations: 0 / 2.193 GB, free: 3.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/3.741, allocations: 338.1 kB / 2.193 GB, free: 3.594 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/3.742, allocations: 346.5 kB / 2.193 GB, free: 3.254 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/3.742, allocations: 0.5948 MB / 2.194 GB, free: 2.551 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008366/3.743, allocations: 416.3 kB / 2.194 GB, free: 2.145 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/3.743, allocations: 4 kB / 2.194 GB, free: 2.141 MB / 1.151 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001924/3.745, allocations: 1.022 MB / 2.195 GB, free: 1.113 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.7442/4.489, allocations: 1.871 MB / 2.197 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/4.49, allocations: 4.75 kB / 2.197 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/4.49, allocations: 13.06 kB / 2.197 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/4.491, allocations: 271.8 kB / 2.198 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.929e-05/4.491, allocations: 17.36 kB / 2.198 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/4.493, allocations: 199.1 kB / 2.198 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/4.493, allocations: 40.09 kB / 2.198 GB, free: 247.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/4.493, allocations: 3.531 kB / 2.198 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/4.495, allocations: 0.8479 MB / 2.199 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/4.495, allocations: 5.219 kB / 2.199 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/4.495, allocations: 9.188 kB / 2.199 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/4.497, allocations: 268.8 kB / 2.199 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/4.497, allocations: 11.67 kB / 2.199 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/4.498, allocations: 168.4 kB / 2.199 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/4.498, allocations: 39.89 kB / 2.199 GB, free: 247.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000291/4.499, allocations: 139.9 kB / 2.199 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001909/4.5, allocations: 0.8085 MB / 2.2 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/4.501, allocations: 140.6 kB / 2.2 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/4.503, allocations: 0.9501 MB / 2.201 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/4.503, allocations: 14.66 kB / 2.201 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/4.503, allocations: 0 / 2.201 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001438/4.504, allocations: 0.82 MB / 2.202 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/4.509, allocations: 2.453 MB / 2.204 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/4.509, allocations: 3.062 kB / 2.204 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/4.51, allocations: 201.3 kB / 2.205 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/4.51, allocations: 8.25 kB / 2.205 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/4.51, allocations: 16.25 kB / 2.205 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/4.51, allocations: 5.125 kB / 2.205 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/4.51, allocations: 3.469 kB / 2.205 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/4.513, allocations: 1.7 MB / 2.206 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/4.514, allocations: 384.7 kB / 2.207 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/4.514, allocations: 8.75 kB / 2.207 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/4.515, allocations: 116.8 kB / 2.207 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/4.515, allocations: 71.41 kB / 2.207 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/4.516, allocations: 40.5 kB / 2.207 GB, free: 246.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00159/4.517, allocations: 0.8677 MB / 2.208 GB, free: 246.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/4.517, allocations: 0 / 2.208 GB, free: 246.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003005/4.52, allocations: 0.836 MB / 2.208 GB, free: 246.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004378/4.525, allocations: 3.596 MB / 2.212 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002595/4.527, allocations: 1.368 MB / 2.213 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/4.527, allocations: 8 kB / 2.213 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/4.528, allocations: 464.5 kB / 2.214 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/4.532, allocations: 0.5706 MB / 2.214 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/4.537, allocations: 2.345 MB / 2.217 GB, free: 243.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/4.538, allocations: 1.319 MB / 2.218 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002589/4.541, allocations: 0.493 MB / 2.218 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008614/4.542, allocations: 0.5731 MB / 2.219 GB, free: 243 MB / 1.151 GB Notification: Performance of SimCode: time 1.442e-06/4.542, allocations: 1.344 kB / 2.219 GB, free: 243 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09552/4.637, allocations: 41.27 MB / 2.259 GB, free: 242.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/4.638, allocations: 182.6 kB / 2.259 GB, free: 242.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.326/7.964, allocations: 0 / 2.259 GB, free: 242.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat does not exist to compare? outputFormat=mat