Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.142/2.142, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001563, allocations: 173.8 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.493/2.493, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009697/0.0009698, allocations: 94.84 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 11.62 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2146, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.348, allocations: 361.7 MB / 1.253 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000389/1.348, allocations: 94.06 kB / 1.253 GB, free: 8 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.06395/1.412, allocations: 16.02 MB / 1.268 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.084e-06/1.412, allocations: 0 / 1.268 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.412, allocations: 0 / 1.268 GB, free: 11.18 MB / 0.7761 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.0005535/1.413, allocations: 387 kB / 1.269 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.413, allocations: 8.031 kB / 1.269 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/1.413, allocations: 0.9375 kB / 1.269 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/1.413, allocations: 168.4 kB / 1.269 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/1.413, allocations: 384 / 1.269 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/1.413, allocations: 384 / 1.269 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/1.413, allocations: 38.19 kB / 1.269 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.413, allocations: 192 / 1.269 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.413, allocations: 3.938 kB / 1.269 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.413, allocations: 0 / 1.269 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/1.413, allocations: 7.625 kB / 1.269 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/1.414, allocations: 153.2 kB / 1.269 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.975e-05/1.414, allocations: 26.61 kB / 1.269 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/1.414, allocations: 8.672 kB / 1.269 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.414, allocations: 101.1 kB / 1.269 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.414, allocations: 38.55 kB / 1.269 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/1.414, allocations: 0 / 1.269 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/1.414, allocations: 53.3 kB / 1.269 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/1.414, allocations: 51.41 kB / 1.269 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/1.415, allocations: 101.8 kB / 1.27 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/1.415, allocations: 25.7 kB / 1.27 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/1.415, allocations: 84.14 kB / 1.27 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/1.415, allocations: 3.906 kB / 1.27 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.415, allocations: 0 / 1.27 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.415, allocations: 314.6 kB / 1.27 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/1.415, allocations: 8 kB / 1.27 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/1.415, allocations: 7.922 kB / 1.27 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/1.415, allocations: 4 kB / 1.27 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.415, allocations: 0 / 1.27 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.97e-05/1.415, allocations: 37.27 kB / 1.27 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.415, allocations: 8 kB / 1.27 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.415, allocations: 3.938 kB / 1.27 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.415, allocations: 3.984 kB / 1.27 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/1.415, allocations: 4.094 kB / 1.27 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.415, allocations: 7.938 kB / 1.27 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/1.415, allocations: 0 / 1.27 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/1.415, allocations: 3.984 kB / 1.27 GB, free: 9.348 MB / 0.7761 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 9.276e-05/1.415, allocations: 109.8 kB / 1.27 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/1.415, allocations: 0 / 1.27 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/1.416, allocations: 56.38 kB / 1.27 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.416, allocations: 4 kB / 1.27 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.416, allocations: 4.031 kB / 1.27 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.416, allocations: 0 / 1.27 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/1.416, allocations: 153.5 kB / 1.27 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.416, allocations: 0 / 1.27 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/1.416, allocations: 4 kB / 1.27 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.416, allocations: 0 / 1.27 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.416, allocations: 3.938 kB / 1.27 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.416, allocations: 0 / 1.27 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.416, allocations: 0 / 1.27 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/1.416, allocations: 80.09 kB / 1.27 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/1.416, allocations: 81.05 kB / 1.27 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/1.416, allocations: 3.938 kB / 1.27 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/1.416, allocations: 4 kB / 1.27 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/1.416, allocations: 0 / 1.27 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.416, allocations: 0 / 1.27 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.838e-05/1.416, allocations: 90.89 kB / 1.271 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.21e-07/1.416, allocations: 0 / 1.271 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003193/1.417, allocations: 24 kB / 1.271 GB, free: 8.66 MB / 0.7761 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.0003761/1.417, allocations: 156.7 kB / 1.271 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001043/1.417, allocations: 11.62 kB / 1.271 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.417, allocations: 64 / 1.271 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/1.417, allocations: 11.92 kB / 1.271 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/1.417, allocations: 7.938 kB / 1.271 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/1.418, allocations: 158 kB / 1.271 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.418, allocations: 0.677 MB / 1.272 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.422e-05/1.418, allocations: 0 / 1.272 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/1.418, allocations: 11.44 kB / 1.272 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of SimCode: time 1.413e-06/1.418, allocations: 0 / 1.272 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of Templates: time 0.005176/1.423, allocations: 1.07 MB / 1.273 GB, free: 6.531 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)