Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_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.269/2.269, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.00107/0.00107, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.552/1.552, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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: 99.77 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.775e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2875, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.925/1.213, allocations: 153 MB / 1.355 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/1.213, allocations: 85.75 kB / 1.356 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01975/1.233, allocations: 7.937 MB / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.914e-06/1.233, allocations: 3.938 kB / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.233, allocations: 3.844 kB / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009388/1.234, allocations: 0.6179 MB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.775e-05/1.234, allocations: 7.719 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/1.234, allocations: 151.5 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/1.235, allocations: 345.9 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/1.235, allocations: 76.39 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/1.235, allocations: 3.906 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004409/1.235, allocations: 308.3 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/1.236, allocations: 232.8 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.236, allocations: 2.578 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/1.236, allocations: 0 / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.236, allocations: 3.75 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/1.237, allocations: 0.8316 MB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/1.238, allocations: 213.8 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/1.238, allocations: 162.8 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/1.238, allocations: 0 / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/1.238, allocations: 34.44 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/1.238, allocations: 0 / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005234/1.238, allocations: 351.8 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/1.238, allocations: 51.41 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/1.239, allocations: 344.7 kB / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/1.239, allocations: 25.7 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/1.239, allocations: 182.4 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/1.239, allocations: 53.08 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/1.239, allocations: 3.938 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.239, allocations: 347.2 kB / 1.367 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/1.239, allocations: 146.4 kB / 1.368 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/1.24, allocations: 169.8 kB / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/1.24, allocations: 127 kB / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.24, allocations: 0 / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004509/1.24, allocations: 358.1 kB / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.24, allocations: 3.906 kB / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.24, allocations: 3.812 kB / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.24, allocations: 4 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/1.241, allocations: 77.42 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.241, allocations: 0 / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/1.241, allocations: 46.67 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/1.241, allocations: 7.328 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001063/1.241, allocations: 101 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004451/1.242, allocations: 362.3 kB / 1.369 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/1.242, allocations: 34.03 kB / 1.369 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/1.242, allocations: 39.16 kB / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.242, allocations: 0 / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.242, allocations: 7.844 kB / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.242, allocations: 2.906 kB / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/1.242, allocations: 442.5 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.242, allocations: 0 / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/1.243, allocations: 65.73 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.243, allocations: 7.578 kB / 1.369 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/1.243, allocations: 6.766 kB / 1.369 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.243, allocations: 3.938 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.243, allocations: 4 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/1.243, allocations: 454.9 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/1.243, allocations: 114.8 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/1.243, allocations: 0 / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/1.244, allocations: 42.59 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/1.244, allocations: 25.8 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/1.244, allocations: 10.3 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002423/1.244, allocations: 276.3 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.244, allocations: 0 / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003299/1.244, allocations: 69.69 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0009545/1.245, allocations: 1.092 MB / 1.371 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000464/1.246, allocations: 325.9 kB / 1.372 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.246, allocations: 0 / 1.372 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.246, allocations: 174 kB / 1.372 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/1.246, allocations: 45.05 kB / 1.372 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/1.247, allocations: 0.5241 MB / 1.372 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/1.248, allocations: 0.8059 MB / 1.373 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00027/1.248, allocations: 56.36 kB / 1.373 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.248, allocations: 106.3 kB / 1.373 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.248, allocations: 4 kB / 1.373 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/1.273, allocations: 7.022 MB / 1.38 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/1.273, allocations: 171.9 kB / 1.38 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.401, allocations: 0 / 1.38 GB, free: 27.67 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat does not exist to compare? outputFormat=mat