Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.489/0.489, allocations: 91.99 MB / 108.5 MB, free: 13.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 107.9 kB / 427.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003488, allocations: 8 kB / 0.4983 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 72.31 MB / 0.5689 GB, free: 1.898 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5364/0.6869, allocations: 122.5 MB / 0.6885 GB, free: 13.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.6873, allocations: 119.9 kB / 0.6887 GB, free: 13.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04677/0.7341, allocations: 15.48 MB / 0.7038 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7341, allocations: 0 / 0.7038 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.7341, allocations: 0 / 0.7038 GB, free: 14.36 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.001056/0.7352, allocations: 0.5696 MB / 0.7043 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7353, allocations: 12.03 kB / 0.7043 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.7353, allocations: 83.19 kB / 0.7044 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.7355, allocations: 246.2 kB / 0.7047 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.7356, allocations: 154.6 kB / 0.7048 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.7357, allocations: 154.5 kB / 0.7049 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.7358, allocations: 105 kB / 0.705 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.7358, allocations: 79.28 kB / 0.7051 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.7359, allocations: 154.5 kB / 0.7053 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/0.736, allocations: 150.6 kB / 0.7054 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.736, allocations: 150.6 kB / 0.7056 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.7364, allocations: 465.9 kB / 0.706 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.907e-05/0.7365, allocations: 169.1 kB / 0.7062 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.7365, allocations: 75.28 kB / 0.7062 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.7366, allocations: 113.8 kB / 0.7063 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/0.7366, allocations: 3.984 kB / 0.7063 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.905e-05/0.7367, allocations: 29.64 kB / 0.7064 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.7368, allocations: 134.6 kB / 0.7065 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.7369, allocations: 130.6 kB / 0.7066 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.7369, allocations: 25.7 kB / 0.7067 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.737, allocations: 96.12 kB / 0.7067 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.737, allocations: 0 / 0.7067 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.737, allocations: 0 / 0.7067 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7371, allocations: 310.8 kB / 0.707 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.7372, allocations: 8 kB / 0.707 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.7372, allocations: 4 kB / 0.7071 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.7372, allocations: 16.09 kB / 0.7071 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7372, allocations: 0 / 0.7071 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001309/0.7374, allocations: 57.53 kB / 0.7071 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.7374, allocations: 7.938 kB / 0.7071 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.7374, allocations: 4 kB / 0.7071 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.7375, allocations: 0 / 0.7071 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.7375, allocations: 3.938 kB / 0.7071 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7375, allocations: 0 / 0.7071 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.7375, allocations: 3.953 kB / 0.7071 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.7375, allocations: 4 kB / 0.7071 GB, free: 10.67 MB / 0.4948 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.0001123/0.7376, allocations: 189.1 kB / 0.7073 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.7377, allocations: 108.9 kB / 0.7074 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.7378, allocations: 119.6 kB / 0.7075 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.156e-05/0.7379, allocations: 180.3 kB / 0.7077 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-05/0.738, allocations: 176.3 kB / 0.7079 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.21e-05/0.738, allocations: 188.2 kB / 0.7081 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.7383, allocations: 421.2 kB / 0.7085 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/0.7383, allocations: 104.9 kB / 0.7086 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.7384, allocations: 101 kB / 0.7087 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-05/0.7384, allocations: 188.3 kB / 0.7088 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.7385, allocations: 180.2 kB / 0.709 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.624e-05/0.7386, allocations: 180.3 kB / 0.7092 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.945e-05/0.7386, allocations: 180.2 kB / 0.7094 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.7388, allocations: 315.7 kB / 0.7097 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.7388, allocations: 182 kB / 0.7098 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.7389, allocations: 180.3 kB / 0.71 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.739, allocations: 112.9 kB / 0.7101 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.7391, allocations: 176.3 kB / 0.7103 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.7391, allocations: 105 kB / 0.7104 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.7392, allocations: 100.8 kB / 0.7105 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7392, allocations: 0 / 0.7105 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001088/0.7403, allocations: 327.5 kB / 0.7108 GB, free: 6.719 MB / 0.4948 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.001049/0.7413, allocations: 0.5511 MB / 0.7113 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.516e-05/0.7415, allocations: 37.7 kB / 0.7114 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7415, allocations: 0 / 0.7114 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.7415, allocations: 352 / 0.7114 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.7418, allocations: 0.541 MB / 0.7119 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.7422, allocations: 248.4 kB / 0.7121 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.7424, allocations: 0.6887 MB / 0.7128 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.7424, allocations: 4 kB / 0.7128 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.7425, allocations: 11.44 kB / 0.7128 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of SimCode: time 2.21e-07/0.7425, allocations: 0 / 0.7128 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.009176/0.7516, allocations: 5.242 MB / 0.7179 GB, free: 15.37 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)