Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.601/1.601, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001707/0.001707, allocations: 184.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008268/0.0008268, allocations: 93.61 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.1e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7707, allocations: 115.3 MB / 0.9645 GB, free: 79.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9983/1.769, allocations: 368.6 MB / 1.324 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.769, allocations: 89.36 kB / 1.325 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03346/1.803, allocations: 16.3 MB / 1.34 GB, free: 217 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.194e-06/1.803, allocations: 0 / 1.34 GB, free: 217 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.803, allocations: 0 / 1.34 GB, free: 217 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.0004297/1.803, allocations: 378.3 kB / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/1.803, allocations: 8.031 kB / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/1.804, allocations: 1.031 kB / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/1.804, allocations: 170.9 kB / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.804, allocations: 0 / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/1.804, allocations: 3.938 kB / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.142e-05/1.804, allocations: 4 kB / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.105e-05/1.804, allocations: 40.78 kB / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.804, allocations: 0 / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.804, allocations: 0 / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.804, allocations: 0 / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/1.804, allocations: 138.2 kB / 1.341 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.014e-05/1.804, allocations: 34.53 kB / 1.341 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/1.804, allocations: 12.91 kB / 1.341 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/1.804, allocations: 97.09 kB / 1.341 GB, free: 216 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/1.804, allocations: 30.56 kB / 1.341 GB, free: 216 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.804, allocations: 7.188 kB / 1.341 GB, free: 216 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002427/1.805, allocations: 45.67 kB / 1.341 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/1.805, allocations: 51.41 kB / 1.341 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/1.805, allocations: 97.03 kB / 1.342 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/1.805, allocations: 25.7 kB / 1.342 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/1.805, allocations: 80.14 kB / 1.342 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.805, allocations: 11.91 kB / 1.342 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/1.805, allocations: 0 / 1.342 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/1.805, allocations: 318.8 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/1.805, allocations: 0 / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/1.805, allocations: 4 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/1.805, allocations: 11.98 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.805, allocations: 4.062 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/1.805, allocations: 49.64 kB / 1.342 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.805, allocations: 8 kB / 1.342 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.805, allocations: 0 / 1.342 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.805, allocations: 0 / 1.342 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/1.805, allocations: 4 kB / 1.342 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/1.805, allocations: 3.984 kB / 1.342 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/1.805, allocations: 0 / 1.342 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/1.805, allocations: 0 / 1.342 GB, free: 215.2 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 5.358e-05/1.805, allocations: 105 kB / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001077/1.806, allocations: 54.58 kB / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/1.806, allocations: 3.906 kB / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/1.806, allocations: 61.36 kB / 1.342 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.806, allocations: 0 / 1.342 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.806, allocations: 0 / 1.342 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.806, allocations: 0 / 1.342 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.309e-05/1.806, allocations: 138.2 kB / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.806, allocations: 1.281 kB / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/1.806, allocations: 11.06 kB / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.806, allocations: 0 / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/1.806, allocations: 4 kB / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.806, allocations: 0 / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.806, allocations: 3.938 kB / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/1.806, allocations: 69.11 kB / 1.342 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/1.806, allocations: 85.06 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/1.806, allocations: 8.016 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/1.806, allocations: 0 / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/1.806, allocations: 0 / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/1.806, allocations: 4 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.273e-05/1.806, allocations: 79.28 kB / 1.343 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.806, allocations: 3.094 kB / 1.343 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002119/1.806, allocations: 23.94 kB / 1.343 GB, free: 214.5 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.0004474/1.807, allocations: 0.683 MB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.416e-05/1.807, allocations: 8 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.807, allocations: 0 / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-06/1.807, allocations: 4 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/1.807, allocations: 6.844 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/1.807, allocations: 97.58 kB / 1.343 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/1.808, allocations: 0.6847 MB / 1.344 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.943e-05/1.808, allocations: 0 / 1.344 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/1.808, allocations: 15.38 kB / 1.344 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.808, allocations: 3.938 kB / 1.344 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/1.827, allocations: 1.385 MB / 1.345 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.828, allocations: 181.2 kB / 1.346 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/3.335, allocations: 0 / 1.346 GB, free: 211.4 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)