Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.3 MB, free: 2.074 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.001092/0.001092, allocations: 184.7 kB / 371.6 MB, free: 3.363 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.667/1.667, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008753/0.0008757, allocations: 95.27 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.699e-05, allocations: 8 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2765, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7968/1.073, allocations: 143.8 MB / 1.12 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.074, allocations: 95.59 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0141/1.088, allocations: 5.316 MB / 1.125 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/1.088, allocations: 0 / 1.125 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.088, allocations: 4 kB / 1.125 GB, free: 38.01 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007234/1.088, allocations: 0.5244 MB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.089, allocations: 8.031 kB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/1.089, allocations: 29.44 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/1.089, allocations: 294.9 kB / 1.126 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/1.089, allocations: 20.23 kB / 1.126 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/1.089, allocations: 22 kB / 1.126 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/1.089, allocations: 184.9 kB / 1.127 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.089, allocations: 0 / 1.127 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/1.089, allocations: 10.95 kB / 1.127 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/1.089, allocations: 4.656 kB / 1.127 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/1.09, allocations: 70.61 kB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/1.091, allocations: 0.9196 MB / 1.128 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/1.091, allocations: 180.9 kB / 1.128 GB, free: 36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/1.091, allocations: 69.58 kB / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/1.091, allocations: 3.984 kB / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/1.091, allocations: 184 kB / 1.128 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/1.091, allocations: 0 / 1.128 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0004139/1.092, allocations: 254.7 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.092, allocations: 121.8 kB / 1.128 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/1.092, allocations: 218.7 kB / 1.129 GB, free: 35.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/1.092, allocations: 35.64 kB / 1.129 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/1.092, allocations: 148.4 kB / 1.129 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/1.092, allocations: 56.92 kB / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/1.092, allocations: 6.688 kB / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.582e-05/1.092, allocations: 337.7 kB / 1.129 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/1.092, allocations: 63.27 kB / 1.129 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.092, allocations: 232.4 kB / 1.129 GB, free: 34.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/1.093, allocations: 116.7 kB / 1.129 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.093, allocations: 0 / 1.129 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004295/1.093, allocations: 360.8 kB / 1.13 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/1.093, allocations: 38.67 kB / 1.13 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.093, allocations: 11.94 kB / 1.13 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.093, allocations: 11.95 kB / 1.13 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/1.093, allocations: 66.31 kB / 1.13 GB, free: 33.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.093, allocations: 15.41 kB / 1.13 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/1.094, allocations: 53.31 kB / 1.13 GB, free: 33.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/1.094, allocations: 20.28 kB / 1.13 GB, free: 33.93 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.707e-05/1.094, allocations: 140.9 kB / 1.13 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/1.094, allocations: 23.72 kB / 1.13 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/1.094, allocations: 28.05 kB / 1.13 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.094, allocations: 4 kB / 1.13 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.094, allocations: 3.953 kB / 1.13 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.094, allocations: 0 / 1.13 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/1.094, allocations: 281.1 kB / 1.13 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.094, allocations: 3.938 kB / 1.13 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.094, allocations: 19.42 kB / 1.13 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/1.094, allocations: 7.469 kB / 1.131 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/1.094, allocations: 8.375 kB / 1.131 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.094, allocations: 1.438 kB / 1.131 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.094, allocations: 3.281 kB / 1.131 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/1.095, allocations: 394.3 kB / 1.131 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/1.095, allocations: 103.9 kB / 1.131 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/1.095, allocations: 10.95 kB / 1.131 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.095, allocations: 18.75 kB / 1.131 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/1.095, allocations: 32.16 kB / 1.131 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/1.095, allocations: 16.48 kB / 1.131 GB, free: 33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001095/1.095, allocations: 162.9 kB / 1.131 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.095, allocations: 0 / 1.131 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003913/1.096, allocations: 88.27 kB / 1.131 GB, free: 32.8 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003754/1.096, allocations: 193.8 kB / 1.131 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003249/1.096, allocations: 259.7 kB / 1.132 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.096, allocations: 64 / 1.132 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/1.097, allocations: 92.11 kB / 1.132 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/1.097, allocations: 54.44 kB / 1.132 GB, free: 32.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.098, allocations: 0.605 MB / 1.132 GB, free: 31.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/1.098, allocations: 0.7432 MB / 1.133 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001291/1.098, allocations: 53 kB / 1.133 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/1.099, allocations: 27.44 kB / 1.133 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/1.099, allocations: 0 / 1.133 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.007008/1.106, allocations: 3.674 MB / 1.137 GB, free: 28.97 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)