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.647/1.647, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001428/0.001428, allocations: 177.1 kB / 377.1 MB, free: 1.52 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.606/1.606, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.00104/0.001041, allocations: 93.41 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2861, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9843/1.27, allocations: 370.3 MB / 1.35 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.271, allocations: 97.02 kB / 1.35 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03822/1.309, allocations: 16.44 MB / 1.366 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.155e-06/1.309, allocations: 0 / 1.366 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.515e-06/1.309, allocations: 0.75 kB / 1.366 GB, free: 3.316 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.0004343/1.31, allocations: 376.8 kB / 1.367 GB, free: 2.902 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.31, allocations: 16.03 kB / 1.367 GB, free: 2.887 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/1.31, allocations: 32.62 kB / 1.367 GB, free: 2.848 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/1.31, allocations: 4.844 kB / 1.367 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/1.31, allocations: 166.5 kB / 1.367 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/1.31, allocations: 3.938 kB / 1.367 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.31, allocations: 0 / 1.367 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/1.31, allocations: 38.31 kB / 1.367 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.31, allocations: 0 / 1.367 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/1.31, allocations: 0 / 1.367 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.31, allocations: 0 / 1.367 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.673e-05/1.31, allocations: 12.88 kB / 1.367 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/1.31, allocations: 154.7 kB / 1.367 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.514e-05/1.31, allocations: 27.17 kB / 1.367 GB, free: 2.352 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/1.311, allocations: 101.1 kB / 1.367 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/1.311, allocations: 36.97 kB / 1.367 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/1.311, allocations: 0 / 1.367 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/1.311, allocations: 41.64 kB / 1.367 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/1.311, allocations: 51.41 kB / 1.367 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/1.311, allocations: 99.39 kB / 1.367 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.311, allocations: 25.7 kB / 1.367 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/1.311, allocations: 80.14 kB / 1.367 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/1.311, allocations: 11.91 kB / 1.367 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/1.311, allocations: 0 / 1.367 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.311, allocations: 318.9 kB / 1.368 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/1.311, allocations: 4 kB / 1.368 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/1.311, allocations: 3.984 kB / 1.368 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/1.311, allocations: 8 kB / 1.368 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.311, allocations: 0.6562 kB / 1.368 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.604e-05/1.311, allocations: 37.64 kB / 1.368 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.311, allocations: 8 kB / 1.368 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.311, allocations: 0 / 1.368 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.311, allocations: 4.094 kB / 1.368 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/1.311, allocations: 4 kB / 1.368 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.311, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/1.311, allocations: 4.734 kB / 1.368 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/1.311, allocations: 0 / 1.368 GB, free: 1.457 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 () * 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 8.583e-05/1.312, allocations: 117.8 kB / 1.368 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/1.312, allocations: 7.891 kB / 1.368 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/1.312, allocations: 45.84 kB / 1.368 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.312, allocations: 11.97 kB / 1.368 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.312, allocations: 0 / 1.368 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.312, allocations: 3.938 kB / 1.368 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/1.312, allocations: 157.6 kB / 1.368 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.312, allocations: 0.9375 kB / 1.368 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/1.312, allocations: 4 kB / 1.368 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/1.312, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/1.312, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.312, allocations: 0.5469 kB / 1.368 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.312, allocations: 0.9375 kB / 1.368 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.034e-05/1.312, allocations: 69.94 kB / 1.368 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/1.312, allocations: 85 kB / 1.368 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/1.312, allocations: 0 / 1.368 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/1.312, allocations: 4 kB / 1.368 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/1.312, allocations: 0 / 1.368 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/1.312, allocations: 3.984 kB / 1.368 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.164e-05/1.312, allocations: 84.47 kB / 1.368 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/1.312, allocations: 4.031 kB / 1.368 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002382/1.312, allocations: 28 kB / 1.368 GB, free: 0.7461 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 () * 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.0005026/1.313, allocations: 0.6634 MB / 1.369 GB, free: 60 kB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.796e-05/1.313, allocations: 8 kB / 1.369 GB, free: 52 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.313, allocations: 0 / 1.369 GB, free: 52 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/1.313, allocations: 12 kB / 1.369 GB, free: 40 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/1.313, allocations: 7.984 kB / 1.369 GB, free: 32 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4382/1.751, allocations: 184.3 kB / 1.369 GB, free: 277.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/1.752, allocations: 0.6778 MB / 1.37 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.498e-05/1.752, allocations: 5.562 kB / 1.37 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/1.752, allocations: 11.62 kB / 1.37 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.453e-06/1.752, allocations: 0 / 1.37 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/1.764, allocations: 1.891 MB / 1.372 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/1.765, allocations: 209.8 kB / 1.372 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/3.458, allocations: 0 / 1.372 GB, free: 276.4 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)