Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 103.9 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 191.4 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7564/0.7564, allocations: 122.8 MB / 414.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 63.89 kB / 0.4918 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4313, allocations: 77.92 MB / 0.5679 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004464/0.4358, allocations: 3.013 MB / 0.5708 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.4386, allocations: 2.137 MB / 0.5729 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.4388, allocations: 5.219 kB / 0.5729 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.4403, allocations: 0.4986 MB / 0.5734 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.4407, allocations: 146.1 kB / 0.5735 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.4408, allocations: 63.66 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.4413, allocations: 444.1 kB / 0.574 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.4415, allocations: 159.5 kB / 0.5742 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.4417, allocations: 157.9 kB / 0.5743 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.442, allocations: 182.6 kB / 0.5745 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.442, allocations: 34.94 kB / 0.5745 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.4421, allocations: 35.44 kB / 0.5746 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.4422, allocations: 94.62 kB / 0.5747 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.4424, allocations: 221.6 kB / 0.5749 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.443, allocations: 0.5408 MB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.443, allocations: 0.9375 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.443, allocations: 1.156 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.443, allocations: 0.7188 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00101/0.4441, allocations: 0.6992 MB / 0.5761 GB, free: 27.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4441, allocations: 11.69 kB / 0.5761 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.4442, allocations: 50.97 kB / 0.5761 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.4446, allocations: 372.8 kB / 0.5765 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4447, allocations: 21.88 kB / 0.5765 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.4447, allocations: 22.25 kB / 0.5765 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.4451, allocations: 211.8 kB / 0.5767 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4451, allocations: 0.5156 kB / 0.5767 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.4452, allocations: 10.56 kB / 0.5767 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4452, allocations: 4.375 kB / 0.5768 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.4456, allocations: 165.6 kB / 0.5769 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.4468, allocations: 0.8624 MB / 0.5778 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.4471, allocations: 162.6 kB / 0.5779 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.4474, allocations: 112.7 kB / 0.578 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.4474, allocations: 1.75 kB / 0.578 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4474, allocations: 32.95 kB / 0.578 GB, free: 26.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.4474, allocations: 0.625 kB / 0.578 GB, free: 26.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005812/0.448, allocations: 265.2 kB / 0.5783 GB, free: 25.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.448, allocations: 53.34 kB / 0.5784 GB, free: 25.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.4485, allocations: 418.6 kB / 0.5788 GB, free: 25.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4485, allocations: 28.05 kB / 0.5788 GB, free: 25.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.4487, allocations: 207.9 kB / 0.579 GB, free: 25.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.4487, allocations: 59.33 kB / 0.579 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.4488, allocations: 31.95 kB / 0.5791 GB, free: 25.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.4489, allocations: 348.1 kB / 0.5794 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.449, allocations: 57.8 kB / 0.5795 GB, free: 25.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4492, allocations: 59.44 kB / 0.5795 GB, free: 25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.4495, allocations: 131.1 kB / 0.5796 GB, free: 24.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.4495, allocations: 0.6094 kB / 0.5796 GB, free: 24.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003728/0.4498, allocations: 213.9 kB / 0.5798 GB, free: 24.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4499, allocations: 4.75 kB / 0.5798 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4499, allocations: 1.562 kB / 0.5798 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4499, allocations: 6.047 kB / 0.5798 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4502, allocations: 50.78 kB / 0.5799 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4502, allocations: 1.188 kB / 0.5799 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.4503, allocations: 21.47 kB / 0.5799 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.4503, allocations: 3.906 kB / 0.5799 GB, free: 24.83 MB / 446.1 MB 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4505, allocations: 170.1 kB / 0.5801 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.4505, allocations: 36.53 kB / 0.5801 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.94e-05/0.4506, allocations: 46.27 kB / 0.5802 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4506, allocations: 6.016 kB / 0.5802 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4506, allocations: 1.375 kB / 0.5802 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4506, allocations: 0.7031 kB / 0.5802 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.451, allocations: 377.9 kB / 0.5805 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.451, allocations: 0 / 0.5805 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.4513, allocations: 58.47 kB / 0.5806 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4513, allocations: 2 kB / 0.5806 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4513, allocations: 5.312 kB / 0.5806 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4513, allocations: 5.281 kB / 0.5806 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4513, allocations: 6.062 kB / 0.5806 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.4519, allocations: 373.9 kB / 0.581 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.452, allocations: 119.2 kB / 0.5811 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.452, allocations: 5.969 kB / 0.5811 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.4522, allocations: 10.23 kB / 0.5811 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.4522, allocations: 9.812 kB / 0.5811 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4522, allocations: 8.828 kB / 0.5811 GB, free: 23.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003158/0.4526, allocations: 301.8 kB / 0.5814 GB, free: 23.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4526, allocations: 0 / 0.5814 GB, free: 23.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.4529, allocations: 72 kB / 0.5815 GB, free: 23.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.453, allocations: 113 kB / 0.5816 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.4534, allocations: 152.8 kB / 0.5817 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4534, allocations: 0 / 0.5817 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4536, allocations: 80.19 kB / 0.5818 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.4542, allocations: 93.83 kB / 0.5819 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4554, allocations: 0.8011 MB / 0.5827 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4557, allocations: 0.8011 MB / 0.5835 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.4558, allocations: 26.5 kB / 0.5835 GB, free: 22.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4558, allocations: 3.938 kB / 0.5835 GB, free: 22.43 MB / 446.1 MB Notification: Performance of Templates: time 0.006901/0.4627, allocations: 4.353 MB / 0.5877 GB, free: 20.2 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)