Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.401/2.401, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 184.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 85.91 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.638e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8529, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/2.076, allocations: 368.5 MB / 1.323 GB, free: 185 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/2.077, allocations: 87.89 kB / 1.323 GB, free: 185 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05907/2.136, allocations: 16.3 MB / 1.339 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/2.136, allocations: 0 / 1.339 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.344e-06/2.136, allocations: 0 / 1.339 GB, free: 179.1 MB / 0.8542 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.0003786/2.136, allocations: 373.5 kB / 1.34 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/2.136, allocations: 11.81 kB / 1.34 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/2.136, allocations: 7.891 kB / 1.34 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/2.137, allocations: 167 kB / 1.34 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/2.137, allocations: 0 / 1.34 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/2.137, allocations: 7.266 kB / 1.34 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.696e-05/2.137, allocations: 7.875 kB / 1.34 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.519e-05/2.137, allocations: 29.7 kB / 1.34 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/2.137, allocations: 3.938 kB / 1.34 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/2.137, allocations: 0 / 1.34 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/2.137, allocations: 3.984 kB / 1.34 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/2.137, allocations: 137.9 kB / 1.34 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/2.137, allocations: 33.77 kB / 1.34 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/2.137, allocations: 8.859 kB / 1.34 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/2.137, allocations: 96.72 kB / 1.34 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/2.137, allocations: 34.55 kB / 1.34 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/2.137, allocations: 0 / 1.34 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002604/2.138, allocations: 44.62 kB / 1.34 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/2.138, allocations: 55.31 kB / 1.34 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/2.138, allocations: 92.94 kB / 1.34 GB, free: 178 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/2.138, allocations: 25.7 kB / 1.34 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/2.138, allocations: 83.45 kB / 1.34 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/2.138, allocations: 7.891 kB / 1.34 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/2.138, allocations: 0 / 1.34 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/2.138, allocations: 314.8 kB / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/2.138, allocations: 3.812 kB / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/2.138, allocations: 7.844 kB / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/2.138, allocations: 19.81 kB / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/2.138, allocations: 0 / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001704/2.138, allocations: 41.44 kB / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.138, allocations: 11.86 kB / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/2.138, allocations: 0 / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/2.138, allocations: 0 / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/2.139, allocations: 4.812 kB / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/2.139, allocations: 0 / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/2.139, allocations: 0 / 1.341 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/2.139, allocations: 0 / 1.341 GB, free: 177.5 MB / 0.8542 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.365e-05/2.139, allocations: 112.8 kB / 1.341 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001611/2.139, allocations: 52.78 kB / 1.341 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/2.139, allocations: 7.891 kB / 1.341 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/2.139, allocations: 53.59 kB / 1.341 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/2.139, allocations: 2.688 kB / 1.341 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/2.139, allocations: 0 / 1.341 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/2.139, allocations: 9.234 kB / 1.341 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.635e-05/2.139, allocations: 134.1 kB / 1.341 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/2.139, allocations: 3.938 kB / 1.341 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/2.139, allocations: 3.984 kB / 1.341 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/2.139, allocations: 3.938 kB / 1.341 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/2.139, allocations: 0 / 1.341 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/2.139, allocations: 0 / 1.341 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/2.139, allocations: 1.875 kB / 1.341 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/2.14, allocations: 76.39 kB / 1.341 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/2.14, allocations: 85.12 kB / 1.341 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/2.14, allocations: 0 / 1.341 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/2.14, allocations: 0 / 1.341 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/2.14, allocations: 3.969 kB / 1.341 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/2.14, allocations: 0 / 1.341 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.101e-05/2.14, allocations: 88.5 kB / 1.341 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.71e-07/2.14, allocations: 0 / 1.341 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003096/2.14, allocations: 31.48 kB / 1.341 GB, free: 176.8 MB / 0.8542 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.0005722/2.141, allocations: 0.672 MB / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/2.141, allocations: 7.875 kB / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.141, allocations: 0 / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/2.141, allocations: 3.844 kB / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/2.141, allocations: 6.562 kB / 1.342 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/2.141, allocations: 100.8 kB / 1.342 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/2.141, allocations: 0.6766 MB / 1.343 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.115e-05/2.142, allocations: 3.938 kB / 1.343 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/2.142, allocations: 7.438 kB / 1.343 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/2.142, allocations: 0 / 1.343 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/2.177, allocations: 1.39 MB / 1.344 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/2.177, allocations: 181 kB / 1.344 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/4.455, allocations: 0 / 1.344 GB, free: 174.5 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)