Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7388/0.7388, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001342/0.001342, allocations: 180.3 kB / 173.8 MB, free: 6.137 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.943/1.943, allocations: 205.4 MB / 409 MB, free: 10.48 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.001098/0.001098, allocations: 103.8 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 13.94 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 76.76 MB / 0.6354 GB, free: 30.51 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6317/0.8138, allocations: 111.7 MB / 0.7444 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/0.8142, allocations: 114.2 kB / 0.7446 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05264/0.8669, allocations: 18.54 MB / 0.7627 GB, free: 36.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8669, allocations: 0 / 0.7627 GB, free: 36.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.867, allocations: 6.938 kB / 0.7627 GB, free: 36.56 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001088/0.8681, allocations: 0.6567 MB / 0.7633 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.8681, allocations: 8.812 kB / 0.7633 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.8682, allocations: 49.78 kB / 0.7634 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.8687, allocations: 356.2 kB / 0.7637 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.8688, allocations: 17.03 kB / 0.7637 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.8688, allocations: 22.38 kB / 0.7637 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.8694, allocations: 198.8 kB / 0.7639 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.8694, allocations: 3.938 kB / 0.7639 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.8694, allocations: 12.92 kB / 0.7639 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.8695, allocations: 5.625 kB / 0.764 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.8699, allocations: 174.7 kB / 0.7641 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.8713, allocations: 0.8771 MB / 0.765 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.8716, allocations: 161.3 kB / 0.7651 GB, free: 35.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.8717, allocations: 2.562 kB / 0.7651 GB, free: 35.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.8717, allocations: 35.44 kB / 0.7652 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.8717, allocations: 0 / 0.7652 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0007214/0.8725, allocations: 270.2 kB / 0.7654 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.8725, allocations: 52.84 kB / 0.7655 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.8731, allocations: 375.2 kB / 0.7658 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.8731, allocations: 29.2 kB / 0.7659 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.8733, allocations: 211.2 kB / 0.7661 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.8734, allocations: 56.78 kB / 0.7661 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.8734, allocations: 5.188 kB / 0.7661 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.8735, allocations: 352 kB / 0.7665 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.8737, allocations: 58.36 kB / 0.7665 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.8738, allocations: 63.89 kB / 0.7666 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.874, allocations: 65.3 kB / 0.7666 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.874, allocations: 0.9688 kB / 0.7666 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004313/0.8745, allocations: 217.1 kB / 0.7668 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.8745, allocations: 5.938 kB / 0.7668 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8745, allocations: 3.938 kB / 0.7668 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.8746, allocations: 1.531 kB / 0.7669 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.8749, allocations: 58.3 kB / 0.7669 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.8749, allocations: 0 / 0.7669 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.8751, allocations: 35.66 kB / 0.7669 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.8751, allocations: 6.594 kB / 0.7669 GB, free: 34.44 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0002158/0.8754, allocations: 169.4 kB / 0.7671 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.8754, allocations: 36.72 kB / 0.7671 GB, free: 34.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.34e-05/0.8755, allocations: 37.34 kB / 0.7672 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.8756, allocations: 2.281 kB / 0.7672 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.8756, allocations: 0 / 0.7672 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8756, allocations: 1.125 kB / 0.7672 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.8761, allocations: 388.3 kB / 0.7676 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8761, allocations: 0 / 0.7676 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.8764, allocations: 63.34 kB / 0.7676 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.8764, allocations: 1.438 kB / 0.7676 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.8764, allocations: 1.156 kB / 0.7676 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8764, allocations: 3.797 kB / 0.7676 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8764, allocations: 1.312 kB / 0.7676 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.8772, allocations: 394.8 kB / 0.768 GB, free: 33.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.8773, allocations: 118.1 kB / 0.7681 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.8773, allocations: 6.125 kB / 0.7681 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.8775, allocations: 18.31 kB / 0.7681 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.8776, allocations: 12.41 kB / 0.7681 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.8776, allocations: 4.031 kB / 0.7681 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003949/0.878, allocations: 302.1 kB / 0.7684 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.878, allocations: 1.469 kB / 0.7684 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004775/0.8785, allocations: 81.75 kB / 0.7685 GB, free: 33.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0005284/0.879, allocations: 282.8 kB / 0.7688 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.8795, allocations: 146.6 kB / 0.7689 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8795, allocations: 1.094 kB / 0.7689 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.8797, allocations: 84.2 kB / 0.769 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.8802, allocations: 89.64 kB / 0.7691 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.8816, allocations: 0.8979 MB / 0.77 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.882, allocations: 0.8082 MB / 0.7708 GB, free: 32.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.8821, allocations: 39.45 kB / 0.7708 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.8822, allocations: 23.47 kB / 0.7708 GB, free: 32.31 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.8822, allocations: 3.938 kB / 0.7708 GB, free: 32.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.0123/0.8945, allocations: 5.342 MB / 0.776 GB, free: 31.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)