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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [/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.7429/0.7429, allocations: 117.9 MB / 133.9 MB, free: 9.199 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.001011/0.001011, allocations: 180.5 kB / 161.7 MB, free: 13.97 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.599/1.599, allocations: 205.4 MB / 394.8 MB, free: 9.98 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.0007812/0.0007808, allocations: 92.14 kB / 470.1 MB, free: 29.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 16 kB / 0.5424 GB, free: 9.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 74.54 MB / 0.6152 GB, free: 15.06 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5965, allocations: 123.7 MB / 0.736 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.5969, allocations: 127.5 kB / 0.7361 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03968/0.6366, allocations: 15.39 MB / 0.7512 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6366, allocations: 0 / 0.7512 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6366, allocations: 0 / 0.7512 GB, free: 1.457 MB / 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.0009449/0.6376, allocations: 0.5786 MB / 0.7517 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.6376, allocations: 8.031 kB / 0.7518 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.6377, allocations: 84.12 kB / 0.7518 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.6378, allocations: 255.5 kB / 0.7521 GB, free: 476 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.6379, allocations: 157.8 kB / 0.7522 GB, free: 320 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6379, allocations: 150.9 kB / 0.7524 GB, free: 168 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.319e-05/0.6379, allocations: 109.5 kB / 0.7525 GB, free: 52 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.638, allocations: 75.47 kB / 0.7525 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.6381, allocations: 158.5 kB / 0.7527 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.6381, allocations: 150.6 kB / 0.7528 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/0.6382, allocations: 150.6 kB / 0.753 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.6385, allocations: 466.2 kB / 0.7534 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.6386, allocations: 172.3 kB / 0.7536 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.6387, allocations: 80.14 kB / 0.7537 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.6387, allocations: 75.28 kB / 0.7537 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.6387, allocations: 109.8 kB / 0.7538 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.6388, allocations: 0 / 0.7538 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.176e-05/0.6388, allocations: 37.55 kB / 0.7539 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.6389, allocations: 126.7 kB / 0.754 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.6391, allocations: 133.4 kB / 0.7541 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.6391, allocations: 25.7 kB / 0.7542 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.6391, allocations: 94.83 kB / 0.7542 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.6391, allocations: 0 / 0.7542 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.6392, allocations: 4 kB / 0.7542 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6393, allocations: 317.5 kB / 0.7546 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.6393, allocations: 4 kB / 0.7546 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.6393, allocations: 7.438 kB / 0.7546 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.6394, allocations: 8.859 kB / 0.7546 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6394, allocations: 0 / 0.7546 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001279/0.6395, allocations: 56.53 kB / 0.7546 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6396, allocations: 7.938 kB / 0.7546 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.6396, allocations: 11.94 kB / 0.7546 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6396, allocations: 4.062 kB / 0.7546 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-06/0.6396, allocations: 0 / 0.7546 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6396, allocations: 3.938 kB / 0.7547 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.6397, allocations: 0 / 0.7547 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.6397, allocations: 4 kB / 0.7547 GB, free: 13.72 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 9.881e-05/0.6398, allocations: 184.3 kB / 0.7548 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.6399, allocations: 112.8 kB / 0.7549 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.6399, allocations: 108.8 kB / 0.755 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.527e-05/0.64, allocations: 187.6 kB / 0.7552 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.347e-05/0.6401, allocations: 180.3 kB / 0.7554 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.379e-05/0.6402, allocations: 180.2 kB / 0.7556 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.6404, allocations: 417.8 kB / 0.756 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/0.6405, allocations: 101 kB / 0.7561 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.6405, allocations: 113 kB / 0.7562 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/0.6406, allocations: 180.2 kB / 0.7563 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.6407, allocations: 184.2 kB / 0.7565 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.764e-05/0.6408, allocations: 180.2 kB / 0.7567 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.457e-05/0.6408, allocations: 184.2 kB / 0.7569 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.641, allocations: 299.8 kB / 0.7571 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.6411, allocations: 193.7 kB / 0.7573 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.6412, allocations: 184.2 kB / 0.7575 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.6413, allocations: 105 kB / 0.7576 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.6414, allocations: 184.2 kB / 0.7578 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.6414, allocations: 105 kB / 0.7579 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.6415, allocations: 99.05 kB / 0.758 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6415, allocations: 0 / 0.758 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001151/0.6426, allocations: 324.9 kB / 0.7583 GB, free: 9.812 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.001728/0.6444, allocations: 0.5657 MB / 0.7588 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.761e-05/0.6445, allocations: 36.83 kB / 0.7589 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6445, allocations: 8 kB / 0.7589 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.6445, allocations: 0 / 0.7589 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.645, allocations: 0.5252 MB / 0.7594 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.6454, allocations: 262.5 kB / 0.7596 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.6456, allocations: 0.6809 MB / 0.7603 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.77e-05/0.6457, allocations: 4 kB / 0.7603 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.6457, allocations: 7.438 kB / 0.7603 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/0.6457, allocations: 3.938 kB / 0.7603 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.01081/0.6565, allocations: 5.522 MB / 0.7657 GB, free: 2.219 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)