Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001095/0.001095, allocations: 172.8 kB / 487.4 MB, free: 5.055 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.529/1.529, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 91.91 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.087e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.526, allocations: 447.6 MB / 1.643 GB, free: 7.383 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/1.526, allocations: 94.98 kB / 1.643 GB, free: 7.332 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.663/3.189, allocations: 0.5249 GB / 2.168 GB, free: 33.48 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/3.189, allocations: 3.938 kB / 2.168 GB, free: 33.47 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001288/3.19, allocations: 39.98 kB / 2.168 GB, free: 33.43 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.003997/3.194, allocations: 1.91 MB / 2.17 GB, free: 31.47 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/3.194, allocations: 8.031 kB / 2.17 GB, free: 31.46 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/3.195, allocations: 325.5 kB / 2.17 GB, free: 31.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/3.198, allocations: 1.664 MB / 2.172 GB, free: 29.43 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/3.198, allocations: 117.4 kB / 2.172 GB, free: 29.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/3.198, allocations: 63.98 kB / 2.172 GB, free: 29.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001552/3.2, allocations: 0.9843 MB / 2.173 GB, free: 28.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/3.201, allocations: 1.137 MB / 2.174 GB, free: 27.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/3.201, allocations: 0 / 2.174 GB, free: 27.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/3.201, allocations: 7.938 kB / 2.174 GB, free: 27.02 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/3.201, allocations: 45.94 kB / 2.174 GB, free: 26.97 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.006959/3.208, allocations: 6.711 MB / 2.181 GB, free: 19.76 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/3.209, allocations: 0.5936 MB / 2.181 GB, free: 19.16 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/3.21, allocations: 370.5 kB / 2.182 GB, free: 18.79 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/3.21, allocations: 0.8316 MB / 2.183 GB, free: 17.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/3.21, allocations: 47.06 kB / 2.183 GB, free: 17.72 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/3.21, allocations: 0 / 2.183 GB, free: 17.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.001543/3.212, allocations: 0.8098 MB / 2.183 GB, free: 16.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/3.212, allocations: 111.4 kB / 2.184 GB, free: 16.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/3.213, allocations: 1.141 MB / 2.185 GB, free: 15.62 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/3.213, allocations: 33.69 kB / 2.185 GB, free: 15.58 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/3.214, allocations: 0.7618 MB / 2.185 GB, free: 14.81 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/3.214, allocations: 212.9 kB / 2.186 GB, free: 14.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/3.214, allocations: 0 / 2.186 GB, free: 14.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/3.214, allocations: 334 kB / 2.186 GB, free: 14.27 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/3.214, allocations: 350.5 kB / 2.186 GB, free: 13.93 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/3.215, allocations: 0.591 MB / 2.187 GB, free: 13.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/3.216, allocations: 421 kB / 2.187 GB, free: 12.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/3.216, allocations: 0 / 2.187 GB, free: 12.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001522/3.217, allocations: 1.029 MB / 2.188 GB, free: 11.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003363/3.218, allocations: 1.872 MB / 2.19 GB, free: 9.805 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/3.218, allocations: 4 kB / 2.19 GB, free: 9.801 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/3.218, allocations: 12 kB / 2.19 GB, free: 9.789 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/3.219, allocations: 267.6 kB / 2.19 GB, free: 9.527 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/3.219, allocations: 15.95 kB / 2.19 GB, free: 9.512 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/3.22, allocations: 203 kB / 2.191 GB, free: 9.312 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/3.22, allocations: 39.98 kB / 2.191 GB, free: 9.273 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/3.22, allocations: 5.875 kB / 2.191 GB, free: 9.27 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/3.222, allocations: 0.8501 MB / 2.191 GB, free: 8.422 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/3.222, allocations: 4 kB / 2.191 GB, free: 8.418 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/3.222, allocations: 12 kB / 2.192 GB, free: 8.406 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/3.223, allocations: 267.8 kB / 2.192 GB, free: 8.145 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/3.223, allocations: 11.94 kB / 2.192 GB, free: 8.133 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/3.224, allocations: 175.1 kB / 2.192 GB, free: 7.961 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/3.224, allocations: 47.92 kB / 2.192 GB, free: 7.914 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.0002291/3.224, allocations: 128.7 kB / 2.192 GB, free: 7.781 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001253/3.225, allocations: 0.8059 MB / 2.193 GB, free: 6.973 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/3.226, allocations: 142.2 kB / 2.193 GB, free: 6.832 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/3.227, allocations: 0.9542 MB / 2.194 GB, free: 5.863 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/3.227, allocations: 8 kB / 2.194 GB, free: 5.855 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/3.227, allocations: 0 / 2.194 GB, free: 5.855 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/3.228, allocations: 0.818 MB / 2.195 GB, free: 5.004 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/3.232, allocations: 2.456 MB / 2.197 GB, free: 2.461 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/3.232, allocations: 4 kB / 2.197 GB, free: 2.457 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/3.233, allocations: 208 kB / 2.197 GB, free: 2.254 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/3.233, allocations: 11.95 kB / 2.197 GB, free: 2.242 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/3.233, allocations: 11.98 kB / 2.197 GB, free: 2.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/3.233, allocations: 8 kB / 2.197 GB, free: 2.223 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/3.233, allocations: 0 / 2.197 GB, free: 2.223 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/3.235, allocations: 1.702 MB / 2.199 GB, free: 408 kB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/3.235, allocations: 379 kB / 2.199 GB, free: 8 kB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/3.236, allocations: 4 kB / 2.199 GB, free: 4 kB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.8072/4.043, allocations: 110.8 kB / 2.2 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/4.043, allocations: 79.61 kB / 2.2 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/4.043, allocations: 37 kB / 2.2 GB, free: 253.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001799/4.045, allocations: 0.8682 MB / 2.2 GB, free: 253 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.21e-07/4.045, allocations: 0 / 2.2 GB, free: 253 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003474/4.048, allocations: 0.8354 MB / 2.201 GB, free: 253 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.005152/4.054, allocations: 3.589 MB / 2.205 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003566/4.057, allocations: 1.373 MB / 2.206 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/4.057, allocations: 4.75 kB / 2.206 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/4.058, allocations: 465 kB / 2.207 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/4.062, allocations: 0.5732 MB / 2.207 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006492/4.068, allocations: 2.351 MB / 2.209 GB, free: 250.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/4.07, allocations: 1.307 MB / 2.211 GB, free: 250 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002594/4.072, allocations: 0.4995 MB / 2.211 GB, free: 250 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/4.073, allocations: 0.577 MB / 2.212 GB, free: 250 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/4.073, allocations: 0 / 2.212 GB, free: 250 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09539/4.168, allocations: 41.29 MB / 2.252 GB, free: 249.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/4.169, allocations: 168.7 kB / 2.252 GB, free: 249.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.422/7.591, allocations: 1.594 kB / 2.252 GB, free: 249.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat does not exist to compare? outputFormat=mat