Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.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.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 112.1 kB / 16.42 MB, free: 6.016 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.00111/0.00111, allocations: 188.9 kB / 17.35 MB, free: 5.617 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.8491/0.8491, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.73 kB / 0.5963 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1447, allocations: 82.03 MB / 0.6764 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.607/0.7517, allocations: 292.6 MB / 0.9621 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.09667/0.8484, allocations: 70.7 MB / 1.031 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01501/0.8635, allocations: 381.9 kB / 1.032 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01555/0.8791, allocations: 5.052 MB / 1.036 GB, free: 2.785 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03611/0.9152, allocations: 13.53 MB / 1.05 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.439/1.354, allocations: 9.342 MB / 1.059 GB, free: 18.85 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.2243/1.579, allocations: 222.7 MB / 1.276 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1616/1.74, allocations: 104.4 MB / 1.378 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.214/2.954, allocations: 73.81 MB / 1.45 GB, free: 81.96 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1113/3.066, allocations: 63.41 MB / 1.512 GB, free: 77.06 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0367/3.102, allocations: 10.97 MB / 1.523 GB, free: 77.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08024/3.183, allocations: 18.11 MB / 1.541 GB, free: 77.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.05289/3.236, allocations: 24.47 MB / 1.565 GB, free: 73.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.1246/3.36, allocations: 53.11 MB / 1.616 GB, free: 56.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.2482/3.609, allocations: 193 MB / 1.805 GB, free: 5.953 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/3.609, allocations: 0.8125 kB / 1.805 GB, free: 5.953 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/3.609, allocations: 0 / 1.805 GB, free: 5.953 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.005292/3.614, allocations: 1.219 kB / 1.805 GB, free: 5.953 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 1.225/4.839, allocations: 96.15 MB / 1.899 GB, free: 445.6 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/4.839, allocations: 9.344 kB / 1.899 GB, free: 445.6 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05087/4.89, allocations: 9.626 MB / 1.908 GB, free: 440.7 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.179/5.069, allocations: 92.13 MB / 1.998 GB, free: 357.9 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004191/5.073, allocations: 3.795 MB / 2.002 GB, free: 354.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0221/5.095, allocations: 5.061 MB / 2.007 GB, free: 349.1 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2216/5.317, allocations: 77.38 MB / 2.082 GB, free: 269.8 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003174/5.32, allocations: 146.9 kB / 2.083 GB, free: 269.7 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02078/5.341, allocations: 2.101 MB / 2.085 GB, free: 267.6 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/5.342, allocations: 1.462 MB / 2.086 GB, free: 266.1 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.15/5.492, allocations: 66.23 MB / 2.151 GB, free: 199.8 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.086/6.578, allocations: 381.8 MB / 2.524 GB, free: 245 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07181/6.65, allocations: 40.75 MB / 2.563 GB, free: 224.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04225/6.692, allocations: 25.89 MB / 2.589 GB, free: 212 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006377/6.699, allocations: 5.243 MB / 2.594 GB, free: 206.4 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007188/6.7, allocations: 397.1 kB / 2.594 GB, free: 206.1 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03921/6.739, allocations: 3.168 MB / 2.597 GB, free: 205.6 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2661): time 6.329e-05/6.739, allocations: 0 / 2.597 GB, free: 205.6 MB / 1.186 GB Notification: Performance of matching and sorting (n=2661): time 0.155/6.894, allocations: 68.65 MB / 2.664 GB, free: 163.5 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002707/6.894, allocations: 0.8264 MB / 2.665 GB, free: 162.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1981/7.092, allocations: 86.45 MB / 2.749 GB, free: 77.3 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.007868/7.1, allocations: 0.6032 MB / 2.75 GB, free: 76.69 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0493/7.15, allocations: 36.16 MB / 2.785 GB, free: 43.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.01568/7.165, allocations: 9.922 MB / 2.795 GB, free: 34.57 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03833/7.204, allocations: 8.858 MB / 2.804 GB, free: 25.69 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/7.204, allocations: 301.1 kB / 2.804 GB, free: 25.39 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03912/7.243, allocations: 21.97 MB / 2.825 GB, free: 3.398 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5775/7.82, allocations: 32.96 MB / 2.858 GB, free: 381.9 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09023/7.911, allocations: 51.85 MB / 2.908 GB, free: 359.3 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004968/7.911, allocations: 67.88 kB / 2.908 GB, free: 359.3 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1691/8.08, allocations: 69.85 MB / 2.977 GB, free: 335.2 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006881/8.081, allocations: 109.2 kB / 2.977 GB, free: 335.2 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001394/8.082, allocations: 348.1 kB / 2.977 GB, free: 335.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05694/8.139, allocations: 41.14 MB / 3.017 GB, free: 309.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03127/8.171, allocations: 7.799 MB / 3.025 GB, free: 303 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09116/8.262, allocations: 134.4 MB / 3.156 GB, free: 161.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06053/8.322, allocations: 3.069 MB / 3.159 GB, free: 158.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01115/8.334, allocations: 1.613 MB / 3.161 GB, free: 156.6 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.09246/8.426, allocations: 49.96 MB / 3.209 GB, free: 106.5 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05224/8.478, allocations: 32.93 MB / 3.242 GB, free: 69.61 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6281/9.107, allocations: 51.79 MB / 3.292 GB, free: 325.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003112/9.107, allocations: 70 kB / 3.292 GB, free: 325.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1454/9.252, allocations: 69.8 MB / 3.36 GB, free: 315.8 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/9.253, allocations: 108.7 kB / 3.36 GB, free: 315.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007961/9.253, allocations: 349.3 kB / 3.361 GB, free: 315.8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0489/9.302, allocations: 41.07 MB / 3.401 GB, free: 311.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02762/9.33, allocations: 7.794 MB / 3.409 GB, free: 311 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.095/9.425, allocations: 137 MB / 3.542 GB, free: 194 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05592/9.481, allocations: 3.722 MB / 3.546 GB, free: 191.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008513/9.489, allocations: 1.613 MB / 3.548 GB, free: 189.9 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 60 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(32,530), (1,4), (1,4), (11,229)} Notification: Performance of prepare postOptimizeDAE: time 0.01648/9.506, allocations: 2.412 MB / 3.55 GB, free: 187.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02748/9.533, allocations: 6.708 MB / 3.556 GB, free: 182.8 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1224/9.656, allocations: 52.08 MB / 3.607 GB, free: 131.8 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07824/9.734, allocations: 40.31 MB / 3.647 GB, free: 91.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001083/9.734, allocations: 48 / 3.647 GB, free: 91.18 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04312/9.777, allocations: 13.82 MB / 3.66 GB, free: 77.31 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02881/9.806, allocations: 0.5273 MB / 3.661 GB, free: 76.78 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04738/9.854, allocations: 2.025 MB / 3.663 GB, free: 74.78 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007341/9.861, allocations: 1.557 MB / 3.664 GB, free: 73.22 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1188/9.98, allocations: 55.89 MB / 3.719 GB, free: 17.66 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.6638/10.64, allocations: 64.37 MB / 3.782 GB, free: 315.8 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02525/10.67, allocations: 18.62 MB / 3.8 GB, free: 309 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.131/10.8, allocations: 61.53 MB / 3.86 GB, free: 288.2 MB / 1.186 GB Notification: Performance of Backend: time 1.112e-06/10.8, allocations: 3.875 kB / 3.86 GB, free: 288.2 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.2111/11.01, allocations: 86.09 MB / 3.944 GB, free: 236.2 MB / 1.186 GB Notification: Performance of SimCode: time 0.4146/11.43, allocations: 195.1 MB / 4.135 GB, free: 42.85 MB / 1.186 GB Notification: Performance of Templates: time 4.588/16.01, allocations: 1.608 GB / 5.743 GB, free: 146.1 MB / 1.186 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)