Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.277/2.277, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001156/0.001156, allocations: 187.4 kB / 487.4 MB, free: 5.059 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.642/1.642, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.001007/0.001007, allocations: 111.2 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.226e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.141, allocations: 151.6 MB / 1.354 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.141, allocations: 91.42 kB / 1.354 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01301/1.154, allocations: 3.452 MB / 1.358 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/1.155, allocations: 0 / 1.358 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.155, allocations: 4 kB / 1.358 GB, free: 33.64 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002818/1.155, allocations: 362.4 kB / 1.358 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.155, allocations: 11.69 kB / 1.358 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/1.155, allocations: 75.28 kB / 1.358 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/1.155, allocations: 271.2 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/1.155, allocations: 158.3 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/1.155, allocations: 154.6 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.792e-05/1.155, allocations: 153.8 kB / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.348e-05/1.155, allocations: 103.8 kB / 1.359 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.155, allocations: 75.28 kB / 1.359 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/1.155, allocations: 150.6 kB / 1.359 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/1.156, allocations: 153.7 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/1.156, allocations: 446.2 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/1.156, allocations: 172.9 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/1.156, allocations: 86.97 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/1.156, allocations: 75.28 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/1.156, allocations: 109.8 kB / 1.36 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.156, allocations: 0 / 1.36 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.844e-05/1.156, allocations: 33.45 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.561e-05/1.156, allocations: 51.41 kB / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/1.156, allocations: 113 kB / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/1.156, allocations: 29.64 kB / 1.36 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/1.156, allocations: 97.02 kB / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/1.156, allocations: 0 / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.156, allocations: 4 kB / 1.36 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.156, allocations: 321.5 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/1.156, allocations: 1.312 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/1.156, allocations: 7.781 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/1.157, allocations: 25.27 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/1.157, allocations: 0 / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000168/1.157, allocations: 66.81 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.157, allocations: 7.156 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.157, allocations: 0 / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.157, allocations: 4.062 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/1.157, allocations: 3.875 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/1.157, allocations: 0 / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/1.157, allocations: 3.906 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/1.157, allocations: 0 / 1.361 GB, free: 30.41 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.941e-05/1.157, allocations: 176.5 kB / 1.361 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.281e-05/1.157, allocations: 145.5 kB / 1.361 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/1.157, allocations: 110.2 kB / 1.361 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/1.157, allocations: 123.1 kB / 1.361 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/1.157, allocations: 180 kB / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.592e-05/1.157, allocations: 184.2 kB / 1.362 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.246e-05/1.157, allocations: 184 kB / 1.362 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/1.157, allocations: 390.7 kB / 1.362 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-05/1.158, allocations: 112.8 kB / 1.362 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/1.158, allocations: 108.9 kB / 1.362 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.028e-05/1.158, allocations: 180.3 kB / 1.363 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/1.158, allocations: 176.3 kB / 1.363 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.725e-05/1.158, allocations: 187.6 kB / 1.363 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.645e-05/1.158, allocations: 176.3 kB / 1.363 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/1.158, allocations: 310.5 kB / 1.363 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/1.158, allocations: 189 kB / 1.364 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/1.158, allocations: 184.2 kB / 1.364 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/1.158, allocations: 105.9 kB / 1.364 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/1.158, allocations: 182.9 kB / 1.364 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/1.158, allocations: 104.8 kB / 1.364 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.538e-05/1.158, allocations: 96.11 kB / 1.364 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.158, allocations: 0 / 1.364 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002716/1.159, allocations: 42.69 kB / 1.364 GB, free: 26.74 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005165/1.159, allocations: 0.8724 MB / 1.365 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.606e-05/1.159, allocations: 29.55 kB / 1.365 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.159, allocations: 0 / 1.365 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/1.159, allocations: 7.656 kB / 1.365 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/1.159, allocations: 0.537 MB / 1.366 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/1.16, allocations: 199 kB / 1.366 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/1.16, allocations: 0.6828 MB / 1.366 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.173e-05/1.16, allocations: 11.2 kB / 1.366 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/1.16, allocations: 14.31 kB / 1.367 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.16, allocations: 0 / 1.367 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/1.179, allocations: 1.856 MB / 1.368 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/1.18, allocations: 182.8 kB / 1.368 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.753, allocations: 2.344 kB / 1.368 GB, free: 24.11 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat does not exist to compare? outputFormat=mat