Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.551/0.551, allocations: 94.7 MB / 107.3 MB, free: 5.168 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001153/0.001153, allocations: 175.1 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.791/1.791, allocations: 170.5 MB / 324.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001496/0.001496, allocations: 114.1 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.831e-05/4.834e-05, allocations: 4 kB / 456 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5621, allocations: 61.51 MB / 0.5054 GB, free: 49.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7637/1.326, allocations: 366.5 MB / 0.8633 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/1.326, allocations: 95.22 kB / 0.8634 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.03713/1.363, allocations: 16.61 MB / 0.8797 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/1.363, allocations: 0 / 0.8797 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.363, allocations: 0 / 0.8797 GB, free: 14.41 MB / 0.5261 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.0003705/1.364, allocations: 391.3 kB / 0.88 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.364, allocations: 16.02 kB / 0.88 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/1.364, allocations: 0.625 kB / 0.88 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/1.364, allocations: 171.5 kB / 0.8802 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/1.364, allocations: 3.953 kB / 0.8802 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/1.364, allocations: 0 / 0.8802 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/1.364, allocations: 33.02 kB / 0.8802 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.364, allocations: 7.922 kB / 0.8803 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/1.364, allocations: 0 / 0.8803 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.364, allocations: 0 / 0.8803 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/1.364, allocations: 4 kB / 0.8803 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/1.364, allocations: 156.8 kB / 0.8804 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.117e-05/1.364, allocations: 24.41 kB / 0.8804 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/1.364, allocations: 5.047 kB / 0.8804 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/1.364, allocations: 64 / 0.8804 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/1.365, allocations: 42.11 kB / 0.8805 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/1.365, allocations: 0 / 0.8805 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001494/1.365, allocations: 63.34 kB / 0.8805 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/1.365, allocations: 85.14 kB / 0.8806 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/1.365, allocations: 96.23 kB / 0.8807 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/1.365, allocations: 25.7 kB / 0.8807 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/1.365, allocations: 80.14 kB / 0.8808 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/1.365, allocations: 11.47 kB / 0.8808 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/1.365, allocations: 0 / 0.8808 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.365, allocations: 314.8 kB / 0.8811 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/1.365, allocations: 4 kB / 0.8811 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/1.365, allocations: 4 kB / 0.8811 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/1.365, allocations: 33.64 kB / 0.8812 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.365, allocations: 0 / 0.8812 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.155e-05/1.365, allocations: 79.09 kB / 0.8812 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/1.365, allocations: 29.7 kB / 0.8813 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.365, allocations: 0 / 0.8813 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.365, allocations: 5.125 kB / 0.8813 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/1.365, allocations: 2.875 kB / 0.8813 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.365, allocations: 0 / 0.8813 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/1.365, allocations: 4.031 kB / 0.8813 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/1.365, allocations: 7.984 kB / 0.8813 GB, free: 12.52 MB / 0.5261 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.899e-05/1.365, allocations: 134.5 kB / 0.8814 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/1.365, allocations: 7.953 kB / 0.8814 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/1.365, allocations: 5.438 kB / 0.8814 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.365, allocations: 0 / 0.8814 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.366, allocations: 0 / 0.8814 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.366, allocations: 0 / 0.8814 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/1.366, allocations: 153 kB / 0.8816 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.366, allocations: 1.125 kB / 0.8816 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.366, allocations: 4 kB / 0.8816 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.366, allocations: 3.984 kB / 0.8816 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.366, allocations: 7.953 kB / 0.8816 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/1.366, allocations: 0 / 0.8816 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.366, allocations: 0 / 0.8816 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/1.366, allocations: 97.75 kB / 0.8817 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/1.366, allocations: 83.72 kB / 0.8818 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/1.366, allocations: 4 kB / 0.8818 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/1.366, allocations: 7.984 kB / 0.8818 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/1.366, allocations: 0 / 0.8818 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.366, allocations: 0 / 0.8818 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.999e-05/1.366, allocations: 86.31 kB / 0.8819 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.366, allocations: 0 / 0.8819 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002446/1.366, allocations: 31.98 kB / 0.8819 GB, free: 11.82 MB / 0.5261 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000286/1.367, allocations: 164.8 kB / 0.882 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.773e-05/1.367, allocations: 63.41 kB / 0.8821 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.367, allocations: 0 / 0.8821 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/1.367, allocations: 70.59 kB / 0.8822 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/1.367, allocations: 7.359 kB / 0.8822 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/1.367, allocations: 62.59 kB / 0.8822 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/1.367, allocations: 0.677 MB / 0.8829 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.357e-05/1.367, allocations: 4.125 kB / 0.8829 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/1.367, allocations: 12.47 kB / 0.8829 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/1.367, allocations: 0 / 0.8829 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.003652/1.371, allocations: 1.273 MB / 0.8842 GB, free: 9.496 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)