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.001022/0.001022, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4906/0.4906, allocations: 90.91 MB / 99.35 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008885, allocations: 101.7 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.819e-05, allocations: 8 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 72.3 MB / 0.5537 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.6146, allocations: 109.3 MB / 0.6604 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.6149, allocations: 118.2 kB / 0.6605 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04623/0.6611, allocations: 17.99 MB / 0.6781 GB, free: 1.816 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6612, allocations: 0 / 0.6781 GB, free: 1.816 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.6612, allocations: 8 kB / 0.6781 GB, free: 1.809 MB / 474.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.0006478/0.6618, allocations: 0.5697 MB / 0.6787 GB, free: 1.215 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.6619, allocations: 16.02 kB / 0.6787 GB, free: 1.199 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.662, allocations: 46.81 kB / 0.6787 GB, free: 1.156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.6624, allocations: 353.9 kB / 0.6791 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.6624, allocations: 8 kB / 0.6791 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.6624, allocations: 12 kB / 0.6791 GB, free: 0.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002245/0.6627, allocations: 130.4 kB / 0.6792 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.6629, allocations: 150.2 kB / 0.6794 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.663, allocations: 7.25 kB / 0.6794 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.663, allocations: 0 / 0.6794 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.663, allocations: 4 kB / 0.6794 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.664, allocations: 0.8236 MB / 0.6802 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.6642, allocations: 127.2 kB / 0.6803 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.6643, allocations: 94.48 kB / 0.6804 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.6644, allocations: 4 kB / 0.6804 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.6644, allocations: 30.78 kB / 0.6804 GB, free: 15.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 5.2e-06/0.6644, allocations: 0 / 0.6804 GB, free: 15.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002792/0.6647, allocations: 172.5 kB / 0.6806 GB, free: 15.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.6647, allocations: 51.41 kB / 0.6806 GB, free: 15.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.665, allocations: 326.5 kB / 0.6809 GB, free: 15.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.6651, allocations: 25.7 kB / 0.681 GB, free: 15.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.6652, allocations: 204.8 kB / 0.6812 GB, free: 15.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.6653, allocations: 62.41 kB / 0.6812 GB, free: 15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.6653, allocations: 0 / 0.6812 GB, free: 15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6654, allocations: 349.8 kB / 0.6816 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.6655, allocations: 42.31 kB / 0.6816 GB, free: 14.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.6655, allocations: 39.27 kB / 0.6816 GB, free: 14.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.6656, allocations: 51.28 kB / 0.6817 GB, free: 14.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6656, allocations: 0 / 0.6817 GB, free: 14.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002093/0.6658, allocations: 163.5 kB / 0.6818 GB, free: 14.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.6658, allocations: 4 kB / 0.6818 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6659, allocations: 0 / 0.6818 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6659, allocations: 4 kB / 0.6818 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.6661, allocations: 62.08 kB / 0.6819 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6661, allocations: 7.938 kB / 0.6819 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.6663, allocations: 19.83 kB / 0.6819 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.6663, allocations: 4 kB / 0.6819 GB, free: 14.36 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 () * 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 7.392e-05/0.6664, allocations: 114.6 kB / 0.682 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000211/0.6666, allocations: 156.2 kB / 0.6822 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.6667, allocations: 31.62 kB / 0.6822 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.6667, allocations: 40.81 kB / 0.6823 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6667, allocations: 4 kB / 0.6823 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6668, allocations: 0 / 0.6823 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6668, allocations: 3.953 kB / 0.6823 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.6671, allocations: 335.1 kB / 0.6826 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6671, allocations: 0 / 0.6826 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.6673, allocations: 59.09 kB / 0.6826 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6674, allocations: 0 / 0.6826 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6674, allocations: 3.984 kB / 0.6826 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6674, allocations: 4 kB / 0.6827 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6674, allocations: 4 kB / 0.6827 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.6677, allocations: 318.7 kB / 0.683 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.6678, allocations: 127.1 kB / 0.6831 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.6679, allocations: 3.938 kB / 0.6831 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.668, allocations: 11.98 kB / 0.6831 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.6681, allocations: 12.05 kB / 0.6831 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.6681, allocations: 11.94 kB / 0.6831 GB, free: 13.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.6683, allocations: 260.5 kB / 0.6834 GB, free: 13.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6683, allocations: 0 / 0.6834 GB, free: 13.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.6686, allocations: 71.28 kB / 0.6834 GB, free: 12.98 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 () * 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.0008133/0.6695, allocations: 1.015 MB / 0.6844 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.6697, allocations: 114.5 kB / 0.6845 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6697, allocations: 0 / 0.6845 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.6698, allocations: 63.8 kB / 0.6846 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.6702, allocations: 72.25 kB / 0.6847 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.6712, allocations: 0.5784 MB / 0.6852 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.6716, allocations: 0.8094 MB / 0.686 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.6717, allocations: 31.28 kB / 0.6861 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6718, allocations: 112.9 kB / 0.6862 GB, free: 10.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6718, allocations: 0 / 0.6862 GB, free: 10.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.701, allocations: 6.815 MB / 0.6928 GB, free: 3.668 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.7013, allocations: 213.8 kB / 0.693 GB, free: 3.375 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.674, allocations: 0 / 0.693 GB, free: 3.375 MB / 490.7 MB (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)