Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.46/2.46, allocations: 390.3 MB / 402.8 MB, free: 6.738 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.00135/0.001351, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.845/1.845, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.00112/0.00112, allocations: 91.89 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.27e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2897, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.469, allocations: 381.5 MB / 1.591 GB, free: 4.508 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/1.47, allocations: 99.98 kB / 1.591 GB, free: 4.449 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0395/1.509, allocations: 16.71 MB / 1.608 GB, free: 4.094 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.503e-06/1.509, allocations: 0 / 1.608 GB, free: 4.094 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.509, allocations: 3.938 kB / 1.608 GB, free: 4.09 MB / 1.057 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.0004571/1.51, allocations: 378.3 kB / 1.608 GB, free: 3.676 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.51, allocations: 8.031 kB / 1.608 GB, free: 3.668 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/1.51, allocations: 30.56 kB / 1.608 GB, free: 3.629 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/1.51, allocations: 11.95 kB / 1.608 GB, free: 3.617 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/1.51, allocations: 159.9 kB / 1.608 GB, free: 3.422 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/1.51, allocations: 0 / 1.608 GB, free: 3.422 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/1.51, allocations: 8 kB / 1.608 GB, free: 3.414 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.899e-05/1.51, allocations: 29.69 kB / 1.608 GB, free: 3.379 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/1.51, allocations: 4 kB / 1.608 GB, free: 3.375 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/1.51, allocations: 0 / 1.608 GB, free: 3.375 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.51, allocations: 7.938 kB / 1.608 GB, free: 3.367 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/1.51, allocations: 7.938 kB / 1.608 GB, free: 3.359 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/1.511, allocations: 161.6 kB / 1.609 GB, free: 3.152 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/1.511, allocations: 26.58 kB / 1.609 GB, free: 3.117 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/1.511, allocations: 8.922 kB / 1.609 GB, free: 3.105 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/1.511, allocations: 93.09 kB / 1.609 GB, free: 2.996 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/1.511, allocations: 34.56 kB / 1.609 GB, free: 2.953 MB / 1.057 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.511, allocations: 0 / 1.609 GB, free: 2.953 MB / 1.057 GB Notification: Performance of matching and sorting (n=2): time 0.0001553/1.511, allocations: 45.62 kB / 1.609 GB, free: 2.902 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.511, allocations: 59.38 kB / 1.609 GB, free: 2.832 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/1.511, allocations: 96.95 kB / 1.609 GB, free: 2.73 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/1.511, allocations: 25.7 kB / 1.609 GB, free: 2.699 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/1.511, allocations: 84.14 kB / 1.609 GB, free: 2.613 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/1.511, allocations: 3.906 kB / 1.609 GB, free: 2.609 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/1.511, allocations: 0 / 1.609 GB, free: 2.609 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.512, allocations: 318.8 kB / 1.609 GB, free: 2.289 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/1.512, allocations: 4 kB / 1.609 GB, free: 2.285 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/1.512, allocations: 4 kB / 1.609 GB, free: 2.281 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.556e-05/1.512, allocations: 4 kB / 1.609 GB, free: 2.277 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.512, allocations: 0 / 1.609 GB, free: 2.277 MB / 1.057 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.349e-05/1.512, allocations: 41.64 kB / 1.609 GB, free: 2.23 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.512, allocations: 4 kB / 1.609 GB, free: 2.227 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.512, allocations: 0 / 1.609 GB, free: 2.227 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.512, allocations: 3.984 kB / 1.609 GB, free: 2.223 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/1.512, allocations: 4 kB / 1.609 GB, free: 2.219 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.512, allocations: 0 / 1.609 GB, free: 2.219 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/1.512, allocations: 96 / 1.609 GB, free: 2.219 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.512, allocations: 7.953 kB / 1.609 GB, free: 2.211 MB / 1.057 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 7.835e-05/1.512, allocations: 109 kB / 1.61 GB, free: 2.098 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/1.512, allocations: 0 / 1.61 GB, free: 2.098 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/1.512, allocations: 52.75 kB / 1.61 GB, free: 2.039 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.512, allocations: 0 / 1.61 GB, free: 2.039 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.512, allocations: 0 / 1.61 GB, free: 2.039 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.512, allocations: 0 / 1.61 GB, free: 2.039 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/1.512, allocations: 161.6 kB / 1.61 GB, free: 1.832 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/1.512, allocations: 4.031 kB / 1.61 GB, free: 1.828 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/1.512, allocations: 4 kB / 1.61 GB, free: 1.824 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.512, allocations: 0 / 1.61 GB, free: 1.824 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/1.512, allocations: 0 / 1.61 GB, free: 1.824 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.512, allocations: 0 / 1.61 GB, free: 1.824 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.512, allocations: 4 kB / 1.61 GB, free: 1.82 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.533e-05/1.512, allocations: 68.98 kB / 1.61 GB, free: 1.734 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/1.512, allocations: 85.14 kB / 1.61 GB, free: 1.633 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/1.512, allocations: 0 / 1.61 GB, free: 1.633 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/1.512, allocations: 4.188 kB / 1.61 GB, free: 1.629 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/1.512, allocations: 3.984 kB / 1.61 GB, free: 1.625 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/1.513, allocations: 4 kB / 1.61 GB, free: 1.621 MB / 1.057 GB Notification: Performance of sorting global known variables: time 4.806e-05/1.513, allocations: 79.28 kB / 1.61 GB, free: 1.543 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.4e-07/1.513, allocations: 4 kB / 1.61 GB, free: 1.539 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002275/1.513, allocations: 27.94 kB / 1.61 GB, free: 1.512 MB / 1.057 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.0005574/1.513, allocations: 0.6662 MB / 1.611 GB, free: 0.8203 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 7.404e-05/1.513, allocations: 12 kB / 1.611 GB, free: 0.8086 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.513, allocations: 0 / 1.611 GB, free: 0.8086 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/1.513, allocations: 7.938 kB / 1.611 GB, free: 0.8008 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/1.514, allocations: 1.438 kB / 1.611 GB, free: 0.8008 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/1.514, allocations: 104 kB / 1.611 GB, free: 0.6641 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/1.514, allocations: 0.6887 MB / 1.611 GB, free: 15.95 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 2.774e-05/1.514, allocations: 0 / 1.611 GB, free: 15.95 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/1.514, allocations: 11.44 kB / 1.611 GB, free: 15.94 MB / 1.073 GB Notification: Performance of SimCode: time 2.6e-07/1.514, allocations: 3.938 kB / 1.611 GB, free: 15.93 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/1.53, allocations: 1.94 MB / 1.613 GB, free: 14.17 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.53, allocations: 188.1 kB / 1.614 GB, free: 13.95 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/3.123, allocations: 0 / 1.614 GB, free: 13.95 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat does not exist to compare? outputFormat=mat