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.109/2.109, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001208/0.001208, allocations: 173.1 kB / 498.1 MB, free: 5.723 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.416/1.416, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0008822/0.0008823, allocations: 99.77 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 13.45 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2498, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.4363, allocations: 152.3 MB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4365, allocations: 95.92 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.4498, allocations: 3.478 MB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4499, allocations: 0 / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4499, allocations: 0 / 1.375 GB, free: 6.035 MB / 0.8698 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.0004483/0.4503, allocations: 395.2 kB / 1.376 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4504, allocations: 8.031 kB / 1.376 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.4505, allocations: 105.8 kB / 1.376 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.4505, allocations: 87.19 kB / 1.376 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4508, allocations: 271.7 kB / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.4509, allocations: 158.5 kB / 1.376 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.4509, allocations: 158.5 kB / 1.376 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.82e-05/0.451, allocations: 101 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.451, allocations: 75.28 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.4511, allocations: 154.6 kB / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.4511, allocations: 150.6 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.4512, allocations: 150.6 kB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.4515, allocations: 469.9 kB / 1.377 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.4516, allocations: 169.1 kB / 1.378 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4516, allocations: 75.28 kB / 1.378 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.692e-05/0.4517, allocations: 113.8 kB / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4517, allocations: 0 / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.923e-05/0.4518, allocations: 33.61 kB / 1.378 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4518, allocations: 131.7 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.452, allocations: 122.1 kB / 1.378 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.452, allocations: 25.7 kB / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.452, allocations: 96.12 kB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.452, allocations: 0 / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.452, allocations: 0 / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.4521, allocations: 318.8 kB / 1.378 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.4522, allocations: 8 kB / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.4522, allocations: 0 / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.4522, allocations: 7.984 kB / 1.378 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4522, allocations: 0 / 1.378 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001219/0.4524, allocations: 45.61 kB / 1.378 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4524, allocations: 11.94 kB / 1.378 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.4524, allocations: 0 / 1.378 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4524, allocations: 0 / 1.378 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-06/0.4524, allocations: 7.938 kB / 1.378 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4524, allocations: 8.062 kB / 1.378 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.4525, allocations: 3.984 kB / 1.378 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.4525, allocations: 3.938 kB / 1.378 GB, free: 2.41 MB / 0.8698 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 () * Number of clocked 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 0.0001151/0.4526, allocations: 193.1 kB / 1.379 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.4527, allocations: 104.9 kB / 1.379 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.4527, allocations: 112.6 kB / 1.379 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-05/0.4528, allocations: 188.2 kB / 1.379 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-05/0.4529, allocations: 184.3 kB / 1.379 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-05/0.4529, allocations: 184.2 kB / 1.379 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.4532, allocations: 409.2 kB / 1.38 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.4532, allocations: 105 kB / 1.38 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.4532, allocations: 108.9 kB / 1.38 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.329e-05/0.4533, allocations: 184.3 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.4534, allocations: 180.2 kB / 1.38 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-05/0.4534, allocations: 180.3 kB / 1.381 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.198e-05/0.4535, allocations: 180.2 kB / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.4536, allocations: 311.7 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.4537, allocations: 190 kB / 1.381 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.4538, allocations: 176.3 kB / 1.381 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.4538, allocations: 104.9 kB / 1.381 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.4539, allocations: 181.1 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.4539, allocations: 109 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.454, allocations: 101.5 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/0.454, allocations: 0 / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002995/0.4543, allocations: 39.92 kB / 1.382 GB, free: 14.74 MB / 0.8855 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 () * Number of clocked 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.0005657/0.4549, allocations: 0.8864 MB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.455, allocations: 41.69 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.455, allocations: 3.938 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.455, allocations: 0 / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4554, allocations: 0.5302 MB / 1.383 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.4559, allocations: 462.4 kB / 1.384 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.4562, allocations: 0.6848 MB / 1.384 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.4562, allocations: 4 kB / 1.384 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.4562, allocations: 11.44 kB / 1.384 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.4562, allocations: 0 / 1.384 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.4693, allocations: 2.317 MB / 1.387 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.4696, allocations: 219.2 kB / 1.387 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.026, allocations: 0 / 1.387 GB, free: 9.633 MB / 0.8855 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