Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.18/2.18, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.0015/0.0015, allocations: 179 kB / 492.3 MB, free: 0.5977 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.649/1.649, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0009793/0.0009793, allocations: 95.53 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.325e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2795, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.389, allocations: 380.7 MB / 1.584 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.389, allocations: 92.94 kB / 1.584 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03946/1.429, allocations: 16.69 MB / 1.601 GB, free: 3.484 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.335e-06/1.429, allocations: 0 / 1.601 GB, free: 3.484 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.505e-06/1.429, allocations: 0 / 1.601 GB, free: 3.484 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004108/1.429, allocations: 374.2 kB / 1.601 GB, free: 3.078 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.43, allocations: 11.97 kB / 1.601 GB, free: 3.066 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/1.43, allocations: 30.56 kB / 1.601 GB, free: 3.027 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/1.43, allocations: 8.672 kB / 1.601 GB, free: 3.02 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/1.43, allocations: 179 kB / 1.601 GB, free: 2.805 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/1.43, allocations: 0 / 1.601 GB, free: 2.805 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/1.43, allocations: 0 / 1.601 GB, free: 2.805 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/1.43, allocations: 37.39 kB / 1.601 GB, free: 2.766 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.43, allocations: 0 / 1.601 GB, free: 2.766 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.43, allocations: 0 / 1.601 GB, free: 2.766 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.43, allocations: 4 kB / 1.601 GB, free: 2.762 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/1.43, allocations: 7.953 kB / 1.601 GB, free: 2.754 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/1.43, allocations: 153.4 kB / 1.601 GB, free: 2.559 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/1.43, allocations: 23.08 kB / 1.601 GB, free: 2.527 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/1.43, allocations: 14.36 kB / 1.601 GB, free: 2.512 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/1.43, allocations: 97.83 kB / 1.602 GB, free: 2.398 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.431, allocations: 31.19 kB / 1.602 GB, free: 2.359 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.431, allocations: 0 / 1.602 GB, free: 2.359 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/1.431, allocations: 39.39 kB / 1.602 GB, free: 2.316 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.431, allocations: 55.34 kB / 1.602 GB, free: 2.25 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/1.431, allocations: 100.8 kB / 1.602 GB, free: 2.148 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/1.431, allocations: 25.7 kB / 1.602 GB, free: 2.117 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/1.431, allocations: 83.83 kB / 1.602 GB, free: 2.035 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/1.431, allocations: 7.906 kB / 1.602 GB, free: 2.027 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/1.431, allocations: 0 / 1.602 GB, free: 2.027 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.431, allocations: 314.8 kB / 1.602 GB, free: 1.711 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/1.431, allocations: 4 kB / 1.602 GB, free: 1.707 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/1.431, allocations: 3.938 kB / 1.602 GB, free: 1.703 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/1.431, allocations: 11.44 kB / 1.602 GB, free: 1.695 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.431, allocations: 0 / 1.602 GB, free: 1.695 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.112e-05/1.431, allocations: 37.69 kB / 1.602 GB, free: 1.652 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.431, allocations: 8.625 kB / 1.602 GB, free: 1.645 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.431, allocations: 0 / 1.602 GB, free: 1.645 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.431, allocations: 0 / 1.602 GB, free: 1.645 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/1.431, allocations: 4 kB / 1.602 GB, free: 1.641 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.431, allocations: 3.938 kB / 1.602 GB, free: 1.637 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/1.431, allocations: 0 / 1.602 GB, free: 1.637 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/1.431, allocations: 4.031 kB / 1.602 GB, free: 1.633 MB / 1.01 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 (2): * Single equations (assignments): 2 * 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 6.991e-05/1.431, allocations: 112.8 kB / 1.602 GB, free: 1.52 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/1.431, allocations: 0 / 1.602 GB, free: 1.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/1.432, allocations: 51.97 kB / 1.602 GB, free: 1.469 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/1.432, allocations: 4 kB / 1.602 GB, free: 1.465 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.432, allocations: 3.984 kB / 1.602 GB, free: 1.461 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.432, allocations: 0 / 1.602 GB, free: 1.461 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/1.432, allocations: 157.6 kB / 1.603 GB, free: 1.262 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.432, allocations: 4.031 kB / 1.603 GB, free: 1.258 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/1.432, allocations: 7.984 kB / 1.603 GB, free: 1.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.432, allocations: 0 / 1.603 GB, free: 1.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.432, allocations: 0 / 1.603 GB, free: 1.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.432, allocations: 256 / 1.603 GB, free: 1.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.432, allocations: 3.938 kB / 1.603 GB, free: 1.246 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.89e-05/1.432, allocations: 65.03 kB / 1.603 GB, free: 1.168 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/1.432, allocations: 85.09 kB / 1.603 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/1.432, allocations: 8.031 kB / 1.603 GB, free: 1.059 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/1.432, allocations: 0 / 1.603 GB, free: 1.059 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/1.432, allocations: 0 / 1.603 GB, free: 1.059 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/1.432, allocations: 0 / 1.603 GB, free: 1.059 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.936e-05/1.432, allocations: 83.16 kB / 1.603 GB, free: 0.9805 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/1.432, allocations: 0 / 1.603 GB, free: 0.9805 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002343/1.432, allocations: 31.92 kB / 1.603 GB, free: 0.9492 MB / 1.01 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 (2): * Single equations (assignments): 2 * 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.0005218/1.433, allocations: 0.6619 MB / 1.603 GB, free: 272 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 6.778e-05/1.433, allocations: 15.61 kB / 1.603 GB, free: 260 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.433, allocations: 0 / 1.603 GB, free: 260 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/1.433, allocations: 7.938 kB / 1.604 GB, free: 252 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/1.433, allocations: 0 / 1.604 GB, free: 252 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/1.433, allocations: 106.8 kB / 1.604 GB, free: 112 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/1.434, allocations: 0.6811 MB / 1.604 GB, free: 15.4 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 3.203e-05/1.434, allocations: 7.906 kB / 1.604 GB, free: 15.39 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/1.434, allocations: 11.38 kB / 1.604 GB, free: 15.39 MB / 1.026 GB Notification: Performance of SimCode: time 2.4e-07/1.434, allocations: 4 kB / 1.604 GB, free: 15.39 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/1.446, allocations: 1.943 MB / 1.606 GB, free: 13.62 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.446, allocations: 186.6 kB / 1.606 GB, free: 13.39 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/3.081, allocations: 0 / 1.606 GB, free: 13.39 MB / 1.026 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat does not exist to compare? outputFormat=mat