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.66/1.66, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001314/0.001315, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.602/1.602, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008522/0.0008521, allocations: 90.91 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.967e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.6755, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.8795, allocations: 143.1 MB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.8798, allocations: 91.94 kB / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01594/0.8958, allocations: 5.314 MB / 1.118 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8958, allocations: 3.938 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.8958, allocations: 4 kB / 1.118 GB, free: 1.699 MB / 0.7136 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.0009444/0.8968, allocations: 0.5218 MB / 1.119 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.8969, allocations: 8.031 kB / 1.119 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.897, allocations: 35.61 kB / 1.119 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.8974, allocations: 297.9 kB / 1.119 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.8975, allocations: 9.391 kB / 1.119 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.8975, allocations: 12 kB / 1.119 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001804/0.8977, allocations: 60.45 kB / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.898, allocations: 177.7 kB / 1.119 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.8981, allocations: 8 kB / 1.119 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.8981, allocations: 0 / 1.119 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.8981, allocations: 4 kB / 1.119 GB, free: 480 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.8994, allocations: 0.8745 MB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.8997, allocations: 176.1 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.8998, allocations: 54.89 kB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.8998, allocations: 7.984 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.9001, allocations: 178.9 kB / 1.121 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/0.9002, allocations: 0 / 1.121 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0006327/0.9008, allocations: 247.1 kB / 1.121 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.9009, allocations: 118.7 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.9011, allocations: 200.4 kB / 1.121 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.9011, allocations: 37.69 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.9013, allocations: 144.6 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.9013, allocations: 63.23 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.9013, allocations: 0 / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9015, allocations: 338.8 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.9016, allocations: 48.81 kB / 1.122 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.9018, allocations: 223.9 kB / 1.122 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.9019, allocations: 79.91 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.902, allocations: 4 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004576/0.9024, allocations: 281.6 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.9025, allocations: 41.69 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.9025, allocations: 5.953 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.9025, allocations: 11.47 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.9028, allocations: 67.84 kB / 1.122 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.9028, allocations: 11.95 kB / 1.123 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.903, allocations: 47.81 kB / 1.123 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.9031, allocations: 20 kB / 1.123 GB, free: 12.97 MB / 0.7292 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 0.0001135/0.9032, allocations: 131 kB / 1.123 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.9033, allocations: 29.44 kB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.9033, allocations: 21.83 kB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.9033, allocations: 4 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.9033, allocations: 0 / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9033, allocations: 11.95 kB / 1.123 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.9036, allocations: 238 kB / 1.123 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9036, allocations: 0 / 1.123 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.9038, allocations: 31.91 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.9038, allocations: 0 / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.9038, allocations: 4 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.9038, allocations: 0 / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.9038, allocations: 4 kB / 1.123 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.9045, allocations: 394.8 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.9046, allocations: 96.83 kB / 1.123 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.9046, allocations: 13.47 kB / 1.124 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.9048, allocations: 19.98 kB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.9049, allocations: 27.91 kB / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.9049, allocations: 11.94 kB / 1.124 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001293/0.905, allocations: 152.5 kB / 1.124 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.905, allocations: 0 / 1.124 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004348/0.9055, allocations: 83.92 kB / 1.124 GB, free: 11.64 MB / 0.7292 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.0004414/0.9059, allocations: 186 kB / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.9063, allocations: 232.6 kB / 1.124 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.9063, allocations: 0 / 1.124 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.9064, allocations: 86.42 kB / 1.124 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.9068, allocations: 51.44 kB / 1.124 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.9081, allocations: 0.5972 MB / 1.125 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.9084, allocations: 0.7441 MB / 1.126 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.9086, allocations: 51.25 kB / 1.126 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.9086, allocations: 31.42 kB / 1.126 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.9086, allocations: 3.938 kB / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of Templates: time 0.007799/0.9164, allocations: 3.429 MB / 1.129 GB, free: 6.273 MB / 0.7292 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)