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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 101.9 kB / 16.27 MB, free: 5.961 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.001333/0.001333, allocations: 190.8 kB / 17.2 MB, free: 5.59 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7653/0.7653, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 67.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4438, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002842/0.4467, allocations: 1.415 MB / 0.5686 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.451, allocations: 2.849 MB / 0.5714 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.451, allocations: 0.8438 kB / 0.5714 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.4511, allocations: 6.594 kB / 0.5714 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.4512, allocations: 16.22 kB / 0.5714 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004607/0.4558, allocations: 1.549 MB / 0.573 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.4559, allocations: 45.3 kB / 0.573 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.928e-05/0.456, allocations: 2.875 kB / 0.573 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.456, allocations: 12.16 kB / 0.573 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.4561, allocations: 22.7 kB / 0.573 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.4561, allocations: 1.125 kB / 0.573 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.4594, allocations: 1.422 MB / 0.5744 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.4594, allocations: 10.16 kB / 0.5744 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.4595, allocations: 15.39 kB / 0.5744 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.462, allocations: 1.084 MB / 0.5755 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.462, allocations: 0.7812 kB / 0.5755 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4621, allocations: 0 / 0.5755 GB, free: 28.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.4621, allocations: 2 kB / 0.5755 GB, free: 28.15 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.0008579/0.4629, allocations: 0.5116 MB / 0.576 GB, free: 27.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.463, allocations: 10.16 kB / 0.576 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.4631, allocations: 85.31 kB / 0.5761 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.4633, allocations: 257.1 kB / 0.5763 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.4634, allocations: 152.2 kB / 0.5765 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.4635, allocations: 154.9 kB / 0.5766 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.4635, allocations: 112.1 kB / 0.5767 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.4636, allocations: 80.28 kB / 0.5768 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.4636, allocations: 151.9 kB / 0.577 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.4637, allocations: 153.4 kB / 0.5771 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.4638, allocations: 151.3 kB / 0.5773 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.4641, allocations: 461.2 kB / 0.5777 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/0.4642, allocations: 173.8 kB / 0.5779 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.4642, allocations: 80.14 kB / 0.5779 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4642, allocations: 76.59 kB / 0.578 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4643, allocations: 112.2 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4643, allocations: 0 / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.973e-05/0.4644, allocations: 34.08 kB / 0.5782 GB, free: 25.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.4644, allocations: 131.9 kB / 0.5783 GB, free: 25.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.4646, allocations: 133.9 kB / 0.5784 GB, free: 25.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4647, allocations: 26.8 kB / 0.5784 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.4647, allocations: 92.31 kB / 0.5785 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.4648, allocations: 0.6875 kB / 0.5785 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.4648, allocations: 16.27 kB / 0.5785 GB, free: 25.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4649, allocations: 319.3 kB / 0.5788 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.465, allocations: 5.844 kB / 0.5788 GB, free: 24.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.465, allocations: 3.984 kB / 0.5788 GB, free: 24.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.4651, allocations: 15.88 kB / 0.5789 GB, free: 24.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4651, allocations: 0 / 0.5789 GB, free: 24.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001689/0.4652, allocations: 57.14 kB / 0.5789 GB, free: 24.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4653, allocations: 6.047 kB / 0.5789 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.4653, allocations: 2.562 kB / 0.5789 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4653, allocations: 4 kB / 0.5789 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-06/0.4653, allocations: 2.625 kB / 0.5789 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4653, allocations: 0 / 0.5789 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.4654, allocations: 2.562 kB / 0.5789 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4654, allocations: 0.7969 kB / 0.5789 GB, free: 24.63 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 0.0001406/0.4656, allocations: 187.6 kB / 0.5791 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.4656, allocations: 120 kB / 0.5792 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.026e-05/0.4657, allocations: 116.6 kB / 0.5793 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.892e-05/0.4658, allocations: 180.6 kB / 0.5795 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.64e-05/0.4659, allocations: 182.1 kB / 0.5797 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.52e-05/0.466, allocations: 186.1 kB / 0.5799 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.4663, allocations: 408.5 kB / 0.5803 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.724e-05/0.4664, allocations: 116 kB / 0.5804 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.4664, allocations: 102.4 kB / 0.5805 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.089e-05/0.4665, allocations: 179.9 kB / 0.5806 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.4666, allocations: 182.1 kB / 0.5808 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.13e-05/0.4667, allocations: 178.5 kB / 0.581 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.618e-05/0.4667, allocations: 187.2 kB / 0.5812 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.4669, allocations: 307.7 kB / 0.5815 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.467, allocations: 191.5 kB / 0.5816 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.4671, allocations: 178.2 kB / 0.5818 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.4672, allocations: 107.8 kB / 0.5819 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.4673, allocations: 182.2 kB / 0.5821 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.4673, allocations: 106.4 kB / 0.5822 GB, free: 21.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.106e-05/0.4674, allocations: 99.94 kB / 0.5823 GB, free: 21.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4674, allocations: 1.25 kB / 0.5823 GB, free: 21.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001558/0.469, allocations: 282.9 kB / 0.5825 GB, free: 21 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.001568/0.4705, allocations: 0.5127 MB / 0.583 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.4707, allocations: 39.31 kB / 0.5831 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4707, allocations: 1 kB / 0.5831 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.4707, allocations: 0 / 0.5831 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4711, allocations: 472.3 kB / 0.5835 GB, free: 20.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.4716, allocations: 236.4 kB / 0.5838 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.4718, allocations: 0.6849 MB / 0.5844 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.4718, allocations: 3.906 kB / 0.5844 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.4718, allocations: 8.812 kB / 0.5844 GB, free: 19.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4718, allocations: 1.375 kB / 0.5844 GB, free: 19.34 MB / 446.1 MB Notification: Performance of Templates: time 0.01228/0.4841, allocations: 5.49 MB / 0.5898 GB, free: 16.79 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)