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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 181.6 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.5484/0.5484, allocations: 91.98 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.527/1.527, allocations: 223.1 MB / 354.3 MB, free: 10.48 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.0009611/0.0009616, allocations: 104.2 kB / 427.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 8 kB / 0.4984 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 72.31 MB / 0.569 GB, free: 1.574 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5365/0.715, allocations: 112.2 MB / 0.6785 GB, free: 8.117 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/0.7155, allocations: 112.7 kB / 0.6786 GB, free: 8.008 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05903/0.7745, allocations: 22.22 MB / 0.7003 GB, free: 1.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.7746, allocations: 0 / 0.7003 GB, free: 1.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.7746, allocations: 12 kB / 0.7003 GB, free: 1.715 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.001392/0.776, allocations: 0.8455 MB / 0.7012 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.7761, allocations: 8.031 kB / 0.7012 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.7762, allocations: 90.52 kB / 0.7013 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.7763, allocations: 75.16 kB / 0.7013 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.7769, allocations: 440.7 kB / 0.7018 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.777, allocations: 37 kB / 0.7018 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.7771, allocations: 48 kB / 0.7018 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.7779, allocations: 418.4 kB / 0.7022 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.7779, allocations: 0 / 0.7022 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.778, allocations: 20 kB / 0.7023 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.778, allocations: 16 kB / 0.7023 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.7787, allocations: 375.8 kB / 0.7026 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.7808, allocations: 1.551 MB / 0.7041 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.7813, allocations: 335 kB / 0.7045 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.7814, allocations: 4 kB / 0.7045 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.7814, allocations: 34.56 kB / 0.7045 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.073e-06/0.7814, allocations: 0 / 0.7045 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0009998/0.7824, allocations: 0.5049 MB / 0.705 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.7825, allocations: 59.34 kB / 0.705 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.783, allocations: 433.1 kB / 0.7055 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.783, allocations: 29.7 kB / 0.7055 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.7833, allocations: 272.4 kB / 0.7057 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.7834, allocations: 145.8 kB / 0.7059 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.7835, allocations: 8 kB / 0.7059 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.7837, allocations: 362.8 kB / 0.7062 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.7839, allocations: 124.7 kB / 0.7064 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.7842, allocations: 125.5 kB / 0.7065 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.7845, allocations: 150.3 kB / 0.7066 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7845, allocations: 0 / 0.7066 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006517/0.7851, allocations: 396.1 kB / 0.707 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7852, allocations: 4.766 kB / 0.707 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7852, allocations: 7.984 kB / 0.707 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.7852, allocations: 4 kB / 0.707 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.7858, allocations: 135.7 kB / 0.7071 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7858, allocations: 0 / 0.7071 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.7861, allocations: 51.67 kB / 0.7072 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.7861, allocations: 8 kB / 0.7072 GB, free: 10.44 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.0002773/0.7864, allocations: 201.7 kB / 0.7074 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.7865, allocations: 51.34 kB / 0.7074 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.7866, allocations: 65.09 kB / 0.7075 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7866, allocations: 4 kB / 0.7075 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.7867, allocations: 3.953 kB / 0.7075 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7867, allocations: 4 kB / 0.7075 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.7874, allocations: 0.5751 MB / 0.7081 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7874, allocations: 0 / 0.7081 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.7879, allocations: 123.9 kB / 0.7082 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.7879, allocations: 4 kB / 0.7082 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.788, allocations: 8 kB / 0.7082 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.788, allocations: 4 kB / 0.7082 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.788, allocations: 0 / 0.7082 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.7892, allocations: 0.6749 MB / 0.7089 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.7894, allocations: 132.5 kB / 0.709 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.7894, allocations: 12 kB / 0.709 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.7897, allocations: 23.97 kB / 0.709 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.7898, allocations: 23.97 kB / 0.7091 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.7898, allocations: 8 kB / 0.7091 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004794/0.7903, allocations: 347.1 kB / 0.7094 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7903, allocations: 8 kB / 0.7094 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005889/0.7909, allocations: 159.5 kB / 0.7096 GB, free: 7.93 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.001887/0.7928, allocations: 1.352 MB / 0.7109 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000691/0.7935, allocations: 343.1 kB / 0.7112 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7936, allocations: 3.938 kB / 0.7112 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.7939, allocations: 187.6 kB / 0.7114 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.7945, allocations: 113.3 kB / 0.7115 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.7996, allocations: 3.277 MB / 0.7147 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.8001, allocations: 0.894 MB / 0.7156 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.8004, allocations: 48.38 kB / 0.7156 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.8006, allocations: 199.4 kB / 0.7158 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/0.8006, allocations: 0 / 0.7158 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.8276, allocations: 12.36 MB / 0.7279 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.8279, allocations: 243.5 kB / 0.7281 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.218, allocations: 0 / 0.7281 GB, free: 5.152 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)