Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5006/0.5006, allocations: 91.99 MB / 108.5 MB, free: 13.06 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.537/1.537, allocations: 223.2 MB / 354.3 MB, free: 12.16 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.0009263/0.0009262, allocations: 99.19 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 12 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 72.31 MB / 0.5689 GB, free: 1.891 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5563/0.721, allocations: 112.2 MB / 0.6785 GB, free: 8.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.7214, allocations: 111.9 kB / 0.6786 GB, free: 8.121 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06195/0.7834, allocations: 22.21 MB / 0.7003 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.7835, allocations: 0 / 0.7003 GB, free: 1.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.7835, allocations: 12 kB / 0.7003 GB, free: 1.828 MB / 490.7 MB 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.002041/0.7855, allocations: 0.8416 MB / 0.7011 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.7856, allocations: 8.031 kB / 0.7011 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.7859, allocations: 75.14 kB / 0.7012 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/0.7868, allocations: 436.7 kB / 0.7016 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.7869, allocations: 41 kB / 0.7016 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.787, allocations: 44 kB / 0.7017 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/0.7879, allocations: 430.4 kB / 0.7021 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.7879, allocations: 0 / 0.7021 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.788, allocations: 20 kB / 0.7021 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.7881, allocations: 12 kB / 0.7021 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.7888, allocations: 371.8 kB / 0.7025 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.7914, allocations: 1.555 MB / 0.704 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.792, allocations: 331 kB / 0.7043 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.792, allocations: 8 kB / 0.7043 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.7921, allocations: 38.55 kB / 0.7044 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.334e-06/0.7921, allocations: 0 / 0.7044 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.001006/0.7931, allocations: 0.4971 MB / 0.7048 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.7932, allocations: 63.34 kB / 0.7049 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.7938, allocations: 429.1 kB / 0.7053 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.7939, allocations: 29.7 kB / 0.7053 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.7941, allocations: 272.4 kB / 0.7056 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.7942, allocations: 149.8 kB / 0.7057 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.7943, allocations: 8 kB / 0.7057 GB, free: 12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.7945, allocations: 362.8 kB / 0.7061 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.7948, allocations: 124.6 kB / 0.7062 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.795, allocations: 129.4 kB / 0.7063 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.7953, allocations: 150.4 kB / 0.7065 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7953, allocations: 0 / 0.7065 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007446/0.7961, allocations: 400.1 kB / 0.7069 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.7961, allocations: 4 kB / 0.7069 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.7961, allocations: 0 / 0.7069 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.7962, allocations: 0.7656 kB / 0.7069 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.7967, allocations: 135.8 kB / 0.707 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.7967, allocations: 3.953 kB / 0.707 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.797, allocations: 51.66 kB / 0.707 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.7971, allocations: 16 kB / 0.7071 GB, free: 10.64 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 (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 0.0002759/0.7974, allocations: 193.8 kB / 0.7072 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.7975, allocations: 55.34 kB / 0.7073 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.7976, allocations: 61.05 kB / 0.7074 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7976, allocations: 4 kB / 0.7074 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7976, allocations: 0 / 0.7074 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.7976, allocations: 7.938 kB / 0.7074 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/0.7984, allocations: 0.5751 MB / 0.7079 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7984, allocations: 4 kB / 0.7079 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.7989, allocations: 123.9 kB / 0.7081 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.7989, allocations: 4 kB / 0.7081 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.799, allocations: 4 kB / 0.7081 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.799, allocations: 4 kB / 0.7081 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.799, allocations: 0 / 0.7081 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.8002, allocations: 0.671 MB / 0.7087 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.8004, allocations: 132.5 kB / 0.7088 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.8005, allocations: 8 kB / 0.7089 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.8007, allocations: 27.98 kB / 0.7089 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.8008, allocations: 15.97 kB / 0.7089 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.8008, allocations: 15.98 kB / 0.7089 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000427/0.8012, allocations: 343.1 kB / 0.7092 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8012, allocations: 0 / 0.7092 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005122/0.8018, allocations: 159.5 kB / 0.7094 GB, free: 8.156 MB / 0.4948 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 () * Number of clocked 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.0004284/0.8022, allocations: 279.1 kB / 0.7097 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005979/0.8028, allocations: 327.7 kB / 0.71 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8028, allocations: 0 / 0.71 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.8031, allocations: 191.9 kB / 0.7102 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.8037, allocations: 112.1 kB / 0.7103 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.8057, allocations: 1.446 MB / 0.7117 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.8061, allocations: 0.8784 MB / 0.7125 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.8063, allocations: 52.36 kB / 0.7126 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.8064, allocations: 35.44 kB / 0.7126 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of SimCode: time 2.21e-07/0.8065, allocations: 0 / 0.7126 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of Templates: time 0.01248/0.8189, allocations: 7.041 MB / 0.7195 GB, free: 13.88 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)