Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.001123/0.001123, allocations: 183.2 kB / 371.6 MB, free: 3.398 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.591/1.591, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009656/0.000966, allocations: 93.47 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.268e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2846, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.374, allocations: 370.3 MB / 1.341 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.375, allocations: 87.77 kB / 1.342 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03892/1.413, allocations: 16.38 MB / 1.358 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.943e-06/1.414, allocations: 3.938 kB / 1.358 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.414, allocations: 0 / 1.358 GB, free: 13.09 MB / 0.9323 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.0004161/1.414, allocations: 365.6 kB / 1.358 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/1.414, allocations: 12.59 kB / 1.358 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/1.414, allocations: 40.27 kB / 1.358 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/1.414, allocations: 6.594 kB / 1.358 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/1.414, allocations: 166.3 kB / 1.358 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.414, allocations: 7.938 kB / 1.358 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/1.414, allocations: 0.75 kB / 1.358 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/1.414, allocations: 34.2 kB / 1.358 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.414, allocations: 0 / 1.358 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/1.414, allocations: 0 / 1.358 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/1.414, allocations: 0 / 1.358 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/1.415, allocations: 7.984 kB / 1.358 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/1.415, allocations: 157.4 kB / 1.358 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/1.415, allocations: 26.39 kB / 1.358 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/1.415, allocations: 4.859 kB / 1.358 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/1.415, allocations: 101.1 kB / 1.358 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.415, allocations: 39.25 kB / 1.359 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.415, allocations: 0 / 1.359 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/1.415, allocations: 39.86 kB / 1.359 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.415, allocations: 51.41 kB / 1.359 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/1.415, allocations: 102.5 kB / 1.359 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.415, allocations: 25.7 kB / 1.359 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/1.416, allocations: 80.14 kB / 1.359 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/1.416, allocations: 4.688 kB / 1.359 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.416, allocations: 4.031 kB / 1.359 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.416, allocations: 322 kB / 1.359 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/1.416, allocations: 0 / 1.359 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/1.416, allocations: 4.938 kB / 1.359 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/1.416, allocations: 3.984 kB / 1.359 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.416, allocations: 0 / 1.359 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.489e-05/1.416, allocations: 44.58 kB / 1.359 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.416, allocations: 4 kB / 1.359 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.416, allocations: 4.094 kB / 1.359 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.416, allocations: 0 / 1.359 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/1.416, allocations: 4 kB / 1.359 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.416, allocations: 1.25 kB / 1.359 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/1.416, allocations: 0 / 1.359 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.416, allocations: 9.109 kB / 1.359 GB, free: 11.25 MB / 0.9323 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.877e-05/1.416, allocations: 108.9 kB / 1.359 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/1.416, allocations: 0 / 1.359 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/1.416, allocations: 56.56 kB / 1.359 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.416, allocations: 1.125 kB / 1.359 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.416, allocations: 0 / 1.359 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.416, allocations: 0 / 1.359 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/1.416, allocations: 161.4 kB / 1.359 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.416, allocations: 0 / 1.359 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/1.416, allocations: 4 kB / 1.359 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.417, allocations: 0 / 1.359 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/1.417, allocations: 4 kB / 1.359 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.417, allocations: 0.875 kB / 1.359 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.417, allocations: 3.984 kB / 1.359 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.558e-05/1.417, allocations: 66.5 kB / 1.36 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/1.417, allocations: 88.12 kB / 1.36 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/1.417, allocations: 0 / 1.36 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/1.417, allocations: 0 / 1.36 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/1.417, allocations: 3.938 kB / 1.36 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/1.417, allocations: 5.375 kB / 1.36 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.711e-05/1.417, allocations: 87.2 kB / 1.36 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.11e-07/1.417, allocations: 4.031 kB / 1.36 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002648/1.417, allocations: 31.94 kB / 1.36 GB, free: 10.57 MB / 0.9323 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.0005534/1.418, allocations: 0.649 MB / 1.36 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 9.107e-05/1.418, allocations: 15.19 kB / 1.36 GB, free: 9.879 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.418, allocations: 4.062 kB / 1.36 GB, free: 9.875 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/1.418, allocations: 4 kB / 1.36 GB, free: 9.871 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/1.418, allocations: 4.75 kB / 1.36 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/1.418, allocations: 108.1 kB / 1.361 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/1.419, allocations: 0.677 MB / 1.361 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.05e-05/1.419, allocations: 0.5625 kB / 1.361 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/1.419, allocations: 19.19 kB / 1.361 GB, free: 9.016 MB / 0.9323 GB Notification: Performance of SimCode: time 4.61e-07/1.419, allocations: 0 / 1.361 GB, free: 9.016 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/1.433, allocations: 1.947 MB / 1.363 GB, free: 7.223 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/1.434, allocations: 177.4 kB / 1.363 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/3.069, allocations: 0 / 1.363 GB, free: 7.004 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)