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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8523/0.8523, allocations: 127.4 MB / 134.9 MB, free: 3.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001048, allocations: 180.9 kB / 164.6 MB, free: 6.609 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.2 MB / 399.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 87.69 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.945e-05, allocations: 4 kB / 0.5466 GB, free: 60.44 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1631, allocations: 76.75 MB / 0.6216 GB, free: 15.61 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.571/0.7341, allocations: 113.4 MB / 0.7324 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.7345, allocations: 118.9 kB / 0.7325 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05891/0.7935, allocations: 22.48 MB / 0.7544 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7935, allocations: 3.984 kB / 0.7544 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.7935, allocations: 8 kB / 0.7544 GB, free: 15.64 MB / 0.5105 GB 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.00116/0.7947, allocations: 0.7556 MB / 0.7552 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7948, allocations: 15.98 kB / 0.7552 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.7949, allocations: 71.16 kB / 0.7553 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/0.7955, allocations: 436.1 kB / 0.7557 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.7955, allocations: 19.95 kB / 0.7557 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.7956, allocations: 32 kB / 0.7557 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005641/0.7962, allocations: 309.1 kB / 0.756 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.7968, allocations: 331.7 kB / 0.7563 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.7968, allocations: 0 / 0.7563 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.7969, allocations: 0 / 0.7563 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.7969, allocations: 12 kB / 0.7563 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.7989, allocations: 1.44 MB / 0.7578 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.7993, allocations: 297.7 kB / 0.758 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.7996, allocations: 270.6 kB / 0.7583 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.7997, allocations: 12.67 kB / 0.7583 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.7997, allocations: 42.44 kB / 0.7583 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.7997, allocations: 0 / 0.7583 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.000532/0.8003, allocations: 313.6 kB / 0.7586 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.8003, allocations: 59.34 kB / 0.7587 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.8008, allocations: 373.3 kB / 0.7591 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.8008, allocations: 30.47 kB / 0.7591 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.801, allocations: 273.2 kB / 0.7593 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.8011, allocations: 144.5 kB / 0.7595 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.8011, allocations: 0 / 0.7595 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8013, allocations: 354.5 kB / 0.7598 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.8015, allocations: 99 kB / 0.7599 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.8016, allocations: 100.4 kB / 0.76 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.8018, allocations: 121.8 kB / 0.7601 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8018, allocations: 0 / 0.7601 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004555/0.8023, allocations: 326.8 kB / 0.7604 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.8023, allocations: 4 kB / 0.7604 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.8023, allocations: 4 kB / 0.7604 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8024, allocations: 4 kB / 0.7605 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.8029, allocations: 123.6 kB / 0.7606 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.8029, allocations: 11.94 kB / 0.7606 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.8032, allocations: 43.61 kB / 0.7606 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.8032, allocations: 11.5 kB / 0.7606 GB, free: 10.48 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.8033, allocations: 104.9 kB / 0.7607 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.8034, allocations: 43.44 kB / 0.7608 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.8035, allocations: 59.83 kB / 0.7608 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8035, allocations: 4 kB / 0.7608 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8035, allocations: 0 / 0.7608 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.8035, allocations: 3.953 kB / 0.7608 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.8042, allocations: 0.5062 MB / 0.7613 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.8042, allocations: 0 / 0.7613 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.8047, allocations: 126.9 kB / 0.7615 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8047, allocations: 0 / 0.7615 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.8048, allocations: 4 kB / 0.7615 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8048, allocations: 0 / 0.7615 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8048, allocations: 0 / 0.7615 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007652/0.8055, allocations: 0.572 MB / 0.762 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.8057, allocations: 131.1 kB / 0.7621 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.8057, allocations: 3.938 kB / 0.7621 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.806, allocations: 19.92 kB / 0.7622 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.8061, allocations: 23.33 kB / 0.7622 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.8061, allocations: 8 kB / 0.7622 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003582/0.8065, allocations: 297.9 kB / 0.7625 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8065, allocations: 3.938 kB / 0.7625 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005026/0.807, allocations: 146.5 kB / 0.7626 GB, free: 8.762 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004923/0.8075, allocations: 274.3 kB / 0.7629 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.8079, allocations: 274 kB / 0.7631 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8079, allocations: 0 / 0.7631 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.8081, allocations: 157.3 kB / 0.7633 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.8087, allocations: 90.81 kB / 0.7634 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.8103, allocations: 0.8898 MB / 0.7643 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.8109, allocations: 0.8819 MB / 0.7651 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.8111, allocations: 45.69 kB / 0.7652 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.8112, allocations: 31.44 kB / 0.7652 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.8112, allocations: 0 / 0.7652 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of Templates: time 0.009996/0.8212, allocations: 4.899 MB / 0.77 GB, free: 1.562 MB / 0.5105 GB 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)