Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.002018/0.002018, allocations: 183.4 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.5256/0.5256, allocations: 91.98 MB / 108.5 MB, free: 13.11 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.641/1.641, allocations: 223.1 MB / 354.3 MB, free: 12.24 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.001034/0.001034, allocations: 104.1 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 12 kB / 0.4984 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 72.31 MB / 0.569 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5272/0.6972, allocations: 110.1 MB / 0.6764 GB, free: 10.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/0.6976, allocations: 111.9 kB / 0.6766 GB, free: 10.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04832/0.746, allocations: 18.23 MB / 0.6944 GB, free: 7.938 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.746, allocations: 0 / 0.6944 GB, free: 7.938 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.746, allocations: 4 kB / 0.6944 GB, free: 7.934 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001114/0.7471, allocations: 0.6506 MB / 0.695 GB, free: 7.234 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.7472, allocations: 12.03 kB / 0.695 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.205e-05/0.7473, allocations: 54.55 kB / 0.6951 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.7474, allocations: 51.47 kB / 0.6951 GB, free: 7.109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.748, allocations: 361.3 kB / 0.6955 GB, free: 6.715 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.748, allocations: 12.44 kB / 0.6955 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.7481, allocations: 27.94 kB / 0.6955 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.7485, allocations: 203.6 kB / 0.6957 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.7485, allocations: 0 / 0.6957 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.7486, allocations: 4 kB / 0.6957 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.7486, allocations: 12 kB / 0.6957 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.749, allocations: 177.6 kB / 0.6959 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.7503, allocations: 0.8662 MB / 0.6967 GB, free: 5.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.7506, allocations: 163.3 kB / 0.6969 GB, free: 5.172 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.7507, allocations: 8 kB / 0.6969 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.7507, allocations: 30.56 kB / 0.6969 GB, free: 5.125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.7507, allocations: 0 / 0.6969 GB, free: 5.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006194/0.7513, allocations: 263 kB / 0.6972 GB, free: 4.863 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.7514, allocations: 55.41 kB / 0.6972 GB, free: 4.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.7518, allocations: 380.8 kB / 0.6976 GB, free: 4.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7519, allocations: 25.7 kB / 0.6976 GB, free: 4.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.752, allocations: 212.1 kB / 0.6978 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.7521, allocations: 71.02 kB / 0.6979 GB, free: 4.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.7521, allocations: 4 kB / 0.6979 GB, free: 4.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7523, allocations: 350.8 kB / 0.6982 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.7524, allocations: 59.97 kB / 0.6983 GB, free: 3.691 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.7526, allocations: 62.72 kB / 0.6983 GB, free: 3.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.7527, allocations: 63.98 kB / 0.6984 GB, free: 3.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7527, allocations: 0 / 0.6984 GB, free: 3.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003984/0.7532, allocations: 223.4 kB / 0.6986 GB, free: 3.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7532, allocations: 4 kB / 0.6986 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.7532, allocations: 0 / 0.6986 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7532, allocations: 4 kB / 0.6986 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.7535, allocations: 55.91 kB / 0.6987 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.7535, allocations: 7.938 kB / 0.6987 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.7537, allocations: 27.84 kB / 0.6987 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.7537, allocations: 4 kB / 0.6987 GB, free: 3.246 MB / 490.7 MB 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 (20): * Single equations (assignments): 20 * 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.0001729/0.7539, allocations: 162.2 kB / 0.6989 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.754, allocations: 31.62 kB / 0.6989 GB, free: 3.047 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.062e-05/0.7541, allocations: 47.52 kB / 0.6989 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.7541, allocations: 0 / 0.6989 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7541, allocations: 11.94 kB / 0.6989 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7541, allocations: 3.953 kB / 0.6989 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.7545, allocations: 373.3 kB / 0.6993 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7545, allocations: 0 / 0.6993 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.7548, allocations: 59.95 kB / 0.6994 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7548, allocations: 0 / 0.6994 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.7548, allocations: 0 / 0.6994 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.7548, allocations: 4 kB / 0.6994 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7549, allocations: 3.984 kB / 0.6994 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.7555, allocations: 400.2 kB / 0.6997 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.7556, allocations: 124.7 kB / 0.6999 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.7557, allocations: 4 kB / 0.6999 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.7558, allocations: 12 kB / 0.6999 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.7559, allocations: 15.97 kB / 0.6999 GB, free: 1.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.7559, allocations: 4 kB / 0.6999 GB, free: 1.926 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003346/0.7563, allocations: 295.2 kB / 0.7002 GB, free: 1.641 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7563, allocations: 0 / 0.7002 GB, free: 1.641 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.7567, allocations: 95.78 kB / 0.7003 GB, free: 1.547 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.001266/0.758, allocations: 1.081 MB / 0.7013 GB, free: 464 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.7584, allocations: 155.9 kB / 0.7015 GB, free: 308 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.7584, allocations: 4 kB / 0.7015 GB, free: 304 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.7586, allocations: 83.81 kB / 0.7016 GB, free: 220 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.7591, allocations: 86.33 kB / 0.7016 GB, free: 136 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.7626, allocations: 2.179 MB / 0.7038 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.7631, allocations: 0.807 MB / 0.7046 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.7632, allocations: 38.91 kB / 0.7046 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.7634, allocations: 115.4 kB / 0.7047 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of SimCode: time 3.41e-07/0.7634, allocations: 0 / 0.7047 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.7884, allocations: 9.194 MB / 0.7137 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.7887, allocations: 247.3 kB / 0.7139 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/3.132, allocations: 0 / 0.7139 GB, free: 3.746 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)