Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 103.7 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.001246/0.001246, allocations: 191.6 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.444/1.444, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.753/0.753, allocations: 122.9 MB / 414.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.4918 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4173, allocations: 77.92 MB / 0.5679 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002596/0.42, allocations: 1.427 MB / 0.5693 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.4239, allocations: 2.886 MB / 0.5721 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.4239, allocations: 2.156 kB / 0.5721 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.424, allocations: 13.78 kB / 0.5721 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.4241, allocations: 17.56 kB / 0.5721 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.428, allocations: 1.579 MB / 0.5737 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.4281, allocations: 45.41 kB / 0.5737 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.4282, allocations: 5.625 kB / 0.5737 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.4282, allocations: 13.11 kB / 0.5737 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.4282, allocations: 18.19 kB / 0.5738 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.4283, allocations: 2.281 kB / 0.5738 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.4307, allocations: 1.461 MB / 0.5752 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.4308, allocations: 7.219 kB / 0.5752 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.4308, allocations: 19.8 kB / 0.5752 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.4326, allocations: 1.112 MB / 0.5763 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4326, allocations: 0 / 0.5763 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4326, allocations: 1.75 kB / 0.5763 GB, free: 28.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.4326, allocations: 1.062 kB / 0.5763 GB, free: 28.13 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005928/0.4332, allocations: 0.5223 MB / 0.5768 GB, free: 27.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4333, allocations: 11.91 kB / 0.5768 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.4333, allocations: 78.84 kB / 0.5769 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4335, allocations: 254 kB / 0.5771 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.4335, allocations: 153.3 kB / 0.5773 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.4335, allocations: 151.7 kB / 0.5774 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.235e-05/0.4336, allocations: 111.7 kB / 0.5775 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4336, allocations: 76.28 kB / 0.5776 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.4336, allocations: 151.1 kB / 0.5777 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.4337, allocations: 152.2 kB / 0.5779 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.4337, allocations: 152.2 kB / 0.578 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.4339, allocations: 464.2 kB / 0.5785 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.434, allocations: 176 kB / 0.5787 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.434, allocations: 80.84 kB / 0.5787 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.434, allocations: 76.41 kB / 0.5788 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.434, allocations: 112.3 kB / 0.5789 GB, free: 25.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.434, allocations: 1.125 kB / 0.5789 GB, free: 25.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.784e-05/0.4341, allocations: 32.41 kB / 0.5789 GB, free: 25.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.4341, allocations: 128.8 kB / 0.5791 GB, free: 25.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4343, allocations: 144.1 kB / 0.5792 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.4343, allocations: 25.7 kB / 0.5792 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.4343, allocations: 92.77 kB / 0.5793 GB, free: 25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.4343, allocations: 0 / 0.5793 GB, free: 25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.4344, allocations: 17.02 kB / 0.5793 GB, free: 24.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.4344, allocations: 321.6 kB / 0.5796 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.4345, allocations: 3.594 kB / 0.5796 GB, free: 24.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.4345, allocations: 8.875 kB / 0.5796 GB, free: 24.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.4345, allocations: 18.84 kB / 0.5797 GB, free: 24.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4345, allocations: 0 / 0.5797 GB, free: 24.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.4347, allocations: 53.64 kB / 0.5797 GB, free: 24.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4347, allocations: 8.578 kB / 0.5797 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.4347, allocations: 3.406 kB / 0.5797 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4347, allocations: 0 / 0.5797 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.4347, allocations: 5.719 kB / 0.5797 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4347, allocations: 0 / 0.5797 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.4348, allocations: 9.094 kB / 0.5797 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4348, allocations: 5.953 kB / 0.5797 GB, free: 24.59 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.338e-05/0.4349, allocations: 186.3 kB / 0.5799 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.4349, allocations: 112.5 kB / 0.58 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.4349, allocations: 115.2 kB / 0.5801 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.435, allocations: 186.2 kB / 0.5803 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.902e-05/0.435, allocations: 186.3 kB / 0.5805 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.435, allocations: 182.5 kB / 0.5807 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.4352, allocations: 409.8 kB / 0.5811 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.4352, allocations: 111.8 kB / 0.5812 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.4352, allocations: 103.2 kB / 0.5813 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/0.4352, allocations: 182.2 kB / 0.5814 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.4353, allocations: 183 kB / 0.5816 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.578e-05/0.4353, allocations: 179.9 kB / 0.5818 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.501e-05/0.4353, allocations: 181.9 kB / 0.582 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.4354, allocations: 308.6 kB / 0.5823 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.4354, allocations: 191.9 kB / 0.5824 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.4355, allocations: 178.3 kB / 0.5826 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.003e-05/0.4356, allocations: 105.6 kB / 0.5827 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.4356, allocations: 178.5 kB / 0.5829 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4356, allocations: 111 kB / 0.583 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.4357, allocations: 100.6 kB / 0.5831 GB, free: 21.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4357, allocations: 0 / 0.5831 GB, free: 21.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008312/0.4365, allocations: 282.5 kB / 0.5834 GB, free: 20.98 MB / 446.1 MB 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 (0): * Single equations (assignments): 0 * 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.001052/0.4376, allocations: 0.5463 MB / 0.5839 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.4377, allocations: 44.69 kB / 0.5839 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4377, allocations: 0 / 0.5839 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.4377, allocations: 2.062 kB / 0.5839 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.438, allocations: 471.3 kB / 0.5844 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.4383, allocations: 263.7 kB / 0.5846 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.4384, allocations: 0.6836 MB / 0.5853 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-06/0.4384, allocations: 15.09 kB / 0.5853 GB, free: 19.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4384, allocations: 0 / 0.5853 GB, free: 19.27 MB / 446.1 MB Notification: Performance of Templates: time 0.008252/0.4467, allocations: 4.766 MB / 0.59 GB, free: 17.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)