Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001186/0.001186, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.286/1.286, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8396/0.8396, allocations: 143.1 MB / 434.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.89 kB / 0.5149 GB, free: 15.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3363, allocations: 82.03 MB / 0.595 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004068/0.3404, allocations: 4.129 MB / 0.599 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3428, allocations: 2.417 MB / 0.6014 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.343, allocations: 11.94 kB / 0.6014 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.3443, allocations: 0.5378 MB / 0.6019 GB, free: 9.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.3446, allocations: 249.6 kB / 0.6022 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.3448, allocations: 139.8 kB / 0.6023 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.3453, allocations: 0.8021 MB / 0.6031 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.3456, allocations: 328.6 kB / 0.6034 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3458, allocations: 298.9 kB / 0.6037 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.3461, allocations: 326.6 kB / 0.604 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.3461, allocations: 77.22 kB / 0.6041 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.3462, allocations: 76 kB / 0.6041 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3464, allocations: 171.4 kB / 0.6043 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3466, allocations: 386.3 kB / 0.6047 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.3471, allocations: 1.013 MB / 0.6056 GB, free: 5.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3471, allocations: 0 / 0.6056 GB, free: 5.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3471, allocations: 1.406 kB / 0.6056 GB, free: 5.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3471, allocations: 4 kB / 0.6056 GB, free: 5.246 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001071/0.3482, allocations: 0.9543 MB / 0.6066 GB, free: 4.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.3482, allocations: 8.031 kB / 0.6066 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.3483, allocations: 76 kB / 0.6067 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.3487, allocations: 460.5 kB / 0.6071 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3488, allocations: 33.38 kB / 0.6071 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.3488, allocations: 48.38 kB / 0.6072 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.3494, allocations: 426.8 kB / 0.6076 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3494, allocations: 0 / 0.6076 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.3495, allocations: 20 kB / 0.6076 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3495, allocations: 13.34 kB / 0.6076 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.35, allocations: 367.8 kB / 0.608 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.3516, allocations: 1.538 MB / 0.6095 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.352, allocations: 335.1 kB / 0.6098 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.3524, allocations: 326.1 kB / 0.6101 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3524, allocations: 5.438 kB / 0.6101 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3524, allocations: 42.5 kB / 0.6101 GB, free: 492 kB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.413e-06/0.3524, allocations: 0 / 0.6101 GB, free: 492 kB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007891/0.3532, allocations: 0.4943 MB / 0.6106 GB, free: 15.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3533, allocations: 56.88 kB / 0.6107 GB, free: 15.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.3538, allocations: 485.9 kB / 0.6111 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3538, allocations: 33.7 kB / 0.6112 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.354, allocations: 273.6 kB / 0.6114 GB, free: 15.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3541, allocations: 149.8 kB / 0.6116 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.3542, allocations: 63.17 kB / 0.6116 GB, free: 14.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3543, allocations: 362.8 kB / 0.612 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.3545, allocations: 121.7 kB / 0.6121 GB, free: 14.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3548, allocations: 126.7 kB / 0.6122 GB, free: 14.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.3553, allocations: 305.9 kB / 0.6125 GB, free: 13.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3553, allocations: 1.344 kB / 0.6125 GB, free: 13.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006012/0.3559, allocations: 392.5 kB / 0.6129 GB, free: 13.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3559, allocations: 4.656 kB / 0.6129 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3559, allocations: 1.062 kB / 0.6129 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3559, allocations: 4 kB / 0.6129 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.3564, allocations: 125.3 kB / 0.613 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3564, allocations: 1.438 kB / 0.613 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3566, allocations: 35.58 kB / 0.6131 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3567, allocations: 12 kB / 0.6131 GB, free: 13.43 MB / 462.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 (46): * Single equations (assignments): 46 * 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.0001886/0.3568, allocations: 194.5 kB / 0.6133 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.3569, allocations: 57.72 kB / 0.6133 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.357, allocations: 65.09 kB / 0.6134 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.357, allocations: 11.88 kB / 0.6134 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3571, allocations: 0 / 0.6134 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3571, allocations: 7.984 kB / 0.6134 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.3576, allocations: 0.5713 MB / 0.6139 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3577, allocations: 2.812 kB / 0.614 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.3582, allocations: 131.8 kB / 0.6141 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3582, allocations: 0 / 0.6141 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.3582, allocations: 8 kB / 0.6141 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3582, allocations: 0 / 0.6141 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3582, allocations: 0 / 0.6141 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.3592, allocations: 0.6514 MB / 0.6147 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3593, allocations: 136.5 kB / 0.6149 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.3594, allocations: 11.98 kB / 0.6149 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3596, allocations: 13.7 kB / 0.6149 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.3597, allocations: 23.97 kB / 0.6149 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3597, allocations: 12 kB / 0.6149 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000366/0.3601, allocations: 351.1 kB / 0.6152 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3601, allocations: 0.8125 kB / 0.6152 GB, free: 11.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.3604, allocations: 143.6 kB / 0.6154 GB, free: 10.97 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001531/0.3606, allocations: 116.5 kB / 0.6155 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.3613, allocations: 345.2 kB / 0.6158 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3613, allocations: 0 / 0.6158 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.3616, allocations: 180.7 kB / 0.616 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.3623, allocations: 127.3 kB / 0.6161 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3642, allocations: 1.244 MB / 0.6173 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.3647, allocations: 0.8743 MB / 0.6182 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3648, allocations: 39.44 kB / 0.6182 GB, free: 8.035 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3648, allocations: 0 / 0.6182 GB, free: 8.035 MB / 462.1 MB Notification: Performance of Templates: time 0.009444/0.3742, allocations: 6.843 MB / 0.6249 GB, free: 1.27 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)