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.589/2.589, allocations: 284.7 MB / 297.2 MB, free: 6.363 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.002411/0.002411, allocations: 184.8 kB / 365.6 MB, free: 2.609 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.048/2.048, allocations: 205.1 MB / 0.624 GB, free: 8.23 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.001032/0.001032, allocations: 97.55 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.921e-05/4.94e-05, allocations: 8 kB / 0.8574 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8225, allocations: 115.2 MB / 0.97 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/2.111, allocations: 369.1 MB / 1.33 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/2.112, allocations: 95.52 kB / 1.331 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05749/2.169, allocations: 16.37 MB / 1.347 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/2.169, allocations: 0 / 1.347 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.126e-06/2.169, allocations: 3.875 kB / 1.347 GB, free: 173.5 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.0004254/2.17, allocations: 376.6 kB / 1.347 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/2.17, allocations: 7.406 kB / 1.347 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/2.17, allocations: 30.56 kB / 1.347 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/2.17, allocations: 7.891 kB / 1.347 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/2.17, allocations: 167 kB / 1.347 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/2.17, allocations: 6.531 kB / 1.347 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/2.17, allocations: 7.828 kB / 1.347 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/2.17, allocations: 33.52 kB / 1.347 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/2.17, allocations: 0 / 1.347 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/2.17, allocations: 3.938 kB / 1.347 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/2.17, allocations: 0 / 1.347 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/2.17, allocations: 7.312 kB / 1.347 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/2.17, allocations: 157 kB / 1.347 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.997e-05/2.17, allocations: 26.3 kB / 1.347 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/2.17, allocations: 8.672 kB / 1.347 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/2.171, allocations: 99.92 kB / 1.347 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/2.171, allocations: 34.5 kB / 1.347 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/2.171, allocations: 0 / 1.347 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/2.171, allocations: 37.36 kB / 1.347 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/2.171, allocations: 55.28 kB / 1.348 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/2.171, allocations: 92.69 kB / 1.348 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/2.171, allocations: 25.7 kB / 1.348 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/2.171, allocations: 84.12 kB / 1.348 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/2.171, allocations: 10.84 kB / 1.348 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/2.171, allocations: 0 / 1.348 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/2.171, allocations: 314.8 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/2.171, allocations: 4.031 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/2.171, allocations: 7.25 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/2.171, allocations: 3.875 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/2.171, allocations: 3.938 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.107e-05/2.171, allocations: 41.3 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/2.171, allocations: 7.844 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/2.171, allocations: 2.75 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/2.171, allocations: 0 / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/2.172, allocations: 3.906 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/2.172, allocations: 4.094 kB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/2.172, allocations: 0 / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/2.172, allocations: 0 / 1.348 GB, free: 171.8 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.386e-05/2.172, allocations: 114.9 kB / 1.348 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/2.172, allocations: 0 / 1.348 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/2.172, allocations: 55.84 kB / 1.348 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/2.172, allocations: 0 / 1.348 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/2.172, allocations: 0 / 1.348 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/2.172, allocations: 4.031 kB / 1.348 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/2.172, allocations: 161.1 kB / 1.348 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/2.172, allocations: 0 / 1.348 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/2.172, allocations: 3.875 kB / 1.348 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/2.172, allocations: 0 / 1.348 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/2.172, allocations: 0 / 1.348 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/2.172, allocations: 7.859 kB / 1.348 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.172, allocations: 0.6875 kB / 1.348 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.195e-05/2.172, allocations: 68.41 kB / 1.349 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/2.172, allocations: 84.97 kB / 1.349 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/2.172, allocations: 0 / 1.349 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/2.172, allocations: 0 / 1.349 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/2.172, allocations: 0 / 1.349 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/2.172, allocations: 6.5 kB / 1.349 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.174e-05/2.172, allocations: 82.84 kB / 1.349 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/2.172, allocations: 0 / 1.349 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003151/2.173, allocations: 35.3 kB / 1.349 GB, free: 171.1 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.0004953/2.173, allocations: 0.6561 MB / 1.349 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.209e-05/2.173, allocations: 11.59 kB / 1.349 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/2.173, allocations: 0 / 1.349 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/2.173, allocations: 7.656 kB / 1.349 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/2.174, allocations: 3.984 kB / 1.349 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/2.174, allocations: 106.5 kB / 1.349 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/2.174, allocations: 0.6807 MB / 1.35 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.183e-05/2.174, allocations: 0 / 1.35 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/2.174, allocations: 12.5 kB / 1.35 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.064e-06/2.174, allocations: 0 / 1.35 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/2.198, allocations: 1.946 MB / 1.352 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/2.198, allocations: 186.1 kB / 1.352 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/4.589, allocations: 0 / 1.352 GB, free: 168.6 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)