Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6712/0.6712, allocations: 117.9 MB / 133.9 MB, free: 9.215 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.00103/0.00103, allocations: 184.2 kB / 161.7 MB, free: 13.98 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.558/1.558, allocations: 205.4 MB / 394.8 MB, free: 10.08 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.0007862/0.0007863, allocations: 87.19 kB / 470.1 MB, free: 29.04 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 12 kB / 0.5424 GB, free: 9.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 74.54 MB / 0.6152 GB, free: 15.09 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.6157, allocations: 124.5 MB / 0.7368 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.6161, allocations: 129.3 kB / 0.7369 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04032/0.6564, allocations: 15.72 MB / 0.7523 GB, free: 420 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6565, allocations: 7.938 kB / 0.7523 GB, free: 412 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.6565, allocations: 4 kB / 0.7523 GB, free: 408 kB / 0.4948 GB 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.0008983/0.6574, allocations: 0.5635 MB / 0.7528 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6574, allocations: 16.02 kB / 0.7528 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.6575, allocations: 81 kB / 0.7529 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.6577, allocations: 251.5 kB / 0.7531 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.6578, allocations: 154.9 kB / 0.7533 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.6578, allocations: 158.4 kB / 0.7534 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.6579, allocations: 101.5 kB / 0.7535 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.6579, allocations: 75.47 kB / 0.7536 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.658, allocations: 157.8 kB / 0.7538 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.6581, allocations: 150.6 kB / 0.7539 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.6581, allocations: 154.5 kB / 0.7541 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.6584, allocations: 475.5 kB / 0.7545 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.6585, allocations: 173.1 kB / 0.7547 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.6586, allocations: 80.14 kB / 0.7548 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.6586, allocations: 75.28 kB / 0.7548 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6587, allocations: 109.8 kB / 0.7549 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6587, allocations: 0 / 0.7549 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.035e-05/0.6587, allocations: 41.48 kB / 0.755 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.6588, allocations: 130.6 kB / 0.7551 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.6589, allocations: 129.2 kB / 0.7552 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.659, allocations: 25.7 kB / 0.7552 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.659, allocations: 94.75 kB / 0.7553 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.659, allocations: 0 / 0.7553 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.659, allocations: 4 kB / 0.7553 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6592, allocations: 318.3 kB / 0.7556 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.6592, allocations: 0 / 0.7556 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.6592, allocations: 7.938 kB / 0.7556 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.6593, allocations: 20.09 kB / 0.7557 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6593, allocations: 0 / 0.7557 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001168/0.6594, allocations: 51.92 kB / 0.7557 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6594, allocations: 11.94 kB / 0.7557 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.6594, allocations: 4 kB / 0.7557 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.6595, allocations: 4.062 kB / 0.7557 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.6595, allocations: 0 / 0.7557 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6595, allocations: 0 / 0.7557 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.6595, allocations: 0 / 0.7557 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.6595, allocations: 3.984 kB / 0.7557 GB, free: 12.67 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001007/0.6596, allocations: 185.1 kB / 0.7559 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.6597, allocations: 112.8 kB / 0.756 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.6597, allocations: 116.1 kB / 0.7561 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-05/0.6598, allocations: 176.3 kB / 0.7563 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.213e-05/0.6599, allocations: 188.2 kB / 0.7565 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/0.66, allocations: 176.3 kB / 0.7566 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.6602, allocations: 422.4 kB / 0.7571 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/0.6603, allocations: 101.1 kB / 0.7571 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.6603, allocations: 113 kB / 0.7573 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.769e-05/0.6604, allocations: 187.4 kB / 0.7574 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.6605, allocations: 180.3 kB / 0.7576 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.6e-05/0.6605, allocations: 180.2 kB / 0.7578 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.349e-05/0.6606, allocations: 176.8 kB / 0.7579 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.6608, allocations: 313.9 kB / 0.7582 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.6608, allocations: 193.3 kB / 0.7584 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.6609, allocations: 188.2 kB / 0.7586 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.661, allocations: 101 kB / 0.7587 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.6611, allocations: 184.2 kB / 0.7589 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.6612, allocations: 108.9 kB / 0.759 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.6612, allocations: 99.45 kB / 0.7591 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6612, allocations: 0 / 0.7591 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001083/0.6623, allocations: 333.8 kB / 0.7594 GB, free: 8.738 MB / 0.5105 GB 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 (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.001084/0.6634, allocations: 0.5644 MB / 0.76 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.754e-05/0.6635, allocations: 40.88 kB / 0.76 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6635, allocations: 4.062 kB / 0.76 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/0.6635, allocations: 0 / 0.76 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.664, allocations: 0.5301 MB / 0.7605 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.6643, allocations: 266.3 kB / 0.7608 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.6645, allocations: 0.6809 MB / 0.7614 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.162e-05/0.6645, allocations: 0 / 0.7614 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-06/0.6645, allocations: 11.44 kB / 0.7614 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.6645, allocations: 0 / 0.7614 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of Templates: time 0.009386/0.6739, allocations: 5.702 MB / 0.767 GB, free: 0.957 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)