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.729/1.729, allocations: 288.2 MB / 303.2 MB, free: 8.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.001305/0.001305, allocations: 185 kB / 371.8 MB, free: 10.3 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.66/1.66, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 94.34 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005132, allocations: 12.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9504/1.196, allocations: 369.4 MB / 1.34 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.197, allocations: 94.12 kB / 1.34 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03704/1.234, allocations: 16.43 MB / 1.356 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.693e-06/1.234, allocations: 0 / 1.356 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.234, allocations: 0 / 1.356 GB, free: 13.76 MB / 0.8855 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.0003888/1.234, allocations: 379.4 kB / 1.357 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.234, allocations: 8.031 kB / 1.357 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/1.234, allocations: 34.5 kB / 1.357 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/1.234, allocations: 7.906 kB / 1.357 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.235, allocations: 163 kB / 1.357 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/1.235, allocations: 0 / 1.357 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/1.235, allocations: 0 / 1.357 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/1.235, allocations: 41.06 kB / 1.357 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/1.235, allocations: 3.938 kB / 1.357 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/1.235, allocations: 0 / 1.357 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/1.235, allocations: 4 kB / 1.357 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/1.235, allocations: 4 kB / 1.357 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/1.235, allocations: 157 kB / 1.357 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.617e-05/1.235, allocations: 30.08 kB / 1.357 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/1.235, allocations: 101.1 kB / 1.357 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.235, allocations: 34.56 kB / 1.357 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.235, allocations: 0 / 1.357 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.000139/1.235, allocations: 37.45 kB / 1.357 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.235, allocations: 55.34 kB / 1.357 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/1.235, allocations: 100.5 kB / 1.357 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/1.236, allocations: 29.7 kB / 1.357 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/1.236, allocations: 80.14 kB / 1.358 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/1.236, allocations: 7.891 kB / 1.358 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/1.236, allocations: 0 / 1.358 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.236, allocations: 325.4 kB / 1.358 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/1.236, allocations: 0 / 1.358 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-06/1.236, allocations: 7.984 kB / 1.358 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.616e-05/1.236, allocations: 0 / 1.358 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.236, allocations: 4.062 kB / 1.358 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.312e-05/1.236, allocations: 41.02 kB / 1.358 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.236, allocations: 4 kB / 1.358 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.236, allocations: 0 / 1.358 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/1.236, allocations: 0 / 1.358 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/1.236, allocations: 7.938 kB / 1.358 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.236, allocations: 0 / 1.358 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/1.236, allocations: 256 / 1.358 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.236, allocations: 11.98 kB / 1.358 GB, free: 11.91 MB / 0.8855 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 () * Number of clocked 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.788e-05/1.236, allocations: 118.1 kB / 1.358 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-06/1.236, allocations: 3.906 kB / 1.358 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/1.236, allocations: 48.25 kB / 1.358 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/1.236, allocations: 0 / 1.358 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.236, allocations: 0 / 1.358 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.236, allocations: 0 / 1.358 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/1.236, allocations: 161.4 kB / 1.358 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.236, allocations: 0 / 1.358 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/1.236, allocations: 4 kB / 1.358 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.236, allocations: 4.031 kB / 1.358 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.236, allocations: 3.984 kB / 1.358 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.236, allocations: 7.938 kB / 1.358 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/1.236, allocations: 0 / 1.358 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.279e-05/1.237, allocations: 60.19 kB / 1.358 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/1.237, allocations: 92.44 kB / 1.358 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/1.237, allocations: 0 / 1.358 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/1.237, allocations: 4.031 kB / 1.358 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/1.237, allocations: 0 / 1.358 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/1.237, allocations: 4 kB / 1.358 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.381e-05/1.237, allocations: 79.27 kB / 1.359 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.237, allocations: 4 kB / 1.359 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002037/1.237, allocations: 27.31 kB / 1.359 GB, free: 11.22 MB / 0.8855 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 () * Number of clocked 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.0004987/1.237, allocations: 0.673 MB / 1.359 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.989e-05/1.237, allocations: 8 kB / 1.359 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.237, allocations: 0 / 1.359 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/1.238, allocations: 4 kB / 1.359 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/1.238, allocations: 4.25 kB / 1.359 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/1.238, allocations: 200.2 kB / 1.359 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/1.238, allocations: 0.6809 MB / 1.36 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.723e-05/1.238, allocations: 4 kB / 1.36 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/1.238, allocations: 7.438 kB / 1.36 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/1.238, allocations: 0 / 1.36 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/1.252, allocations: 1.901 MB / 1.362 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/1.252, allocations: 222.9 kB / 1.362 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.812, allocations: 0 / 1.362 GB, free: 7.605 MB / 0.8855 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)