Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.242/2.242, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001021/0.001021, allocations: 184.8 kB / 492.3 MB, free: 0.6055 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.675/1.675, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009257/0.0009259, allocations: 111.2 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.383e-05/4.403e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3024, allocations: 142.4 MB / 1.213 GB, free: 38.33 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9997/1.302, allocations: 153.6 MB / 1.363 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.303, allocations: 114.9 kB / 1.363 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01793/1.321, allocations: 6.306 MB / 1.369 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.321, allocations: 0 / 1.369 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.355e-06/1.321, allocations: 0 / 1.369 GB, free: 34.47 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004303/1.321, allocations: 395.9 kB / 1.369 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.321, allocations: 11.66 kB / 1.369 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/1.321, allocations: 36.11 kB / 1.369 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/1.321, allocations: 7.781 kB / 1.369 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.321, allocations: 163 kB / 1.369 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/1.321, allocations: 0 / 1.369 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/1.321, allocations: 7.781 kB / 1.369 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/1.321, allocations: 39.14 kB / 1.369 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.321, allocations: 7.875 kB / 1.369 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/1.321, allocations: 0 / 1.369 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.321, allocations: 0 / 1.369 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/1.322, allocations: 13.16 kB / 1.37 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/1.322, allocations: 169.3 kB / 1.37 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.4e-05/1.322, allocations: 39.92 kB / 1.37 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/1.322, allocations: 16.08 kB / 1.37 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007354/1.323, allocations: 0.9845 MB / 1.371 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/1.323, allocations: 32.81 kB / 1.371 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/1.323, allocations: 0 / 1.371 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000154/1.323, allocations: 55.27 kB / 1.371 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/1.323, allocations: 51.41 kB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/1.323, allocations: 99 kB / 1.371 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/1.323, allocations: 25.7 kB / 1.371 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/1.323, allocations: 86.86 kB / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/1.323, allocations: 3.906 kB / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.323, allocations: 3.438 kB / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/1.323, allocations: 321.4 kB / 1.371 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/1.323, allocations: 15.62 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/1.323, allocations: 7.5 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/1.323, allocations: 3.812 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.323, allocations: 0 / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.011e-05/1.323, allocations: 51.7 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.323, allocations: 11.34 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.323, allocations: 0 / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.323, allocations: 0 / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/1.323, allocations: 14.59 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.323, allocations: 0 / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/1.323, allocations: 4 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/1.323, allocations: 3.875 kB / 1.371 GB, free: 31.71 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 (4): * Single equations (assignments): 4 * 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 5.284e-05/1.324, allocations: 113.1 kB / 1.372 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/1.324, allocations: 0 / 1.372 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/1.324, allocations: 65.75 kB / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.324, allocations: 48 / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.324, allocations: 3.984 kB / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.324, allocations: 0 / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.507e-05/1.324, allocations: 166.5 kB / 1.372 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.324, allocations: 4 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.167e-05/1.324, allocations: 18.89 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/1.324, allocations: 0 / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/1.324, allocations: 3.188 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/1.324, allocations: 4.359 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.324, allocations: 0 / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/1.324, allocations: 75.09 kB / 1.372 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/1.324, allocations: 92.41 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/1.324, allocations: 7.875 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/1.324, allocations: 2.859 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/1.324, allocations: 0 / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.324, allocations: 3.812 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.096e-05/1.324, allocations: 86.52 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.324, allocations: 0 / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002485/1.324, allocations: 45.5 kB / 1.372 GB, free: 31.08 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 (4): * Single equations (assignments): 4 * 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.0004744/1.325, allocations: 0.6763 MB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.273e-05/1.325, allocations: 15.41 kB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.325, allocations: 0 / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/1.325, allocations: 17.95 kB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/1.325, allocations: 3.938 kB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/1.326, allocations: 128.1 kB / 1.373 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/1.326, allocations: 0.687 MB / 1.374 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.959e-05/1.326, allocations: 4.344 kB / 1.374 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/1.326, allocations: 17.22 kB / 1.374 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.326, allocations: 0 / 1.374 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/1.34, allocations: 1.881 MB / 1.375 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.34, allocations: 243.2 kB / 1.376 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.978, allocations: 1.719 kB / 1.376 GB, free: 29.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat