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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 117.1 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 195.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8345/0.8345, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.89 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4146, allocations: 83.44 MB / 0.6802 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003711/0.4183, allocations: 3.038 MB / 0.6832 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.4211, allocations: 2.159 MB / 0.6853 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.4214, allocations: 5.719 kB / 0.6853 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.4229, allocations: 0.5069 MB / 0.6858 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.4232, allocations: 143.7 kB / 0.6859 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.4233, allocations: 64.95 kB / 0.686 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.4237, allocations: 443.4 kB / 0.6864 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.4239, allocations: 102.8 kB / 0.6865 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.4242, allocations: 160.6 kB / 0.6867 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.4244, allocations: 175.7 kB / 0.6868 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.4244, allocations: 34.34 kB / 0.6869 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.4245, allocations: 34.09 kB / 0.6869 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4246, allocations: 107.2 kB / 0.687 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.4248, allocations: 212.7 kB / 0.6872 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.4254, allocations: 0.5529 MB / 0.6878 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4254, allocations: 0 / 0.6878 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4254, allocations: 0 / 0.6878 GB, free: 204 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.4254, allocations: 0 / 0.6878 GB, free: 204 kB / 0.4981 GB 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.001132/0.4265, allocations: 0.707 MB / 0.6884 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4266, allocations: 14.34 kB / 0.6885 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.13e-05/0.4267, allocations: 60.91 kB / 0.6885 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.4267, allocations: 50.97 kB / 0.6886 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.4273, allocations: 371.6 kB / 0.6889 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.4273, allocations: 21.38 kB / 0.6889 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.4274, allocations: 21.31 kB / 0.689 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.4278, allocations: 195.4 kB / 0.6891 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4278, allocations: 7.984 kB / 0.6892 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.4278, allocations: 10.34 kB / 0.6892 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.4278, allocations: 4.438 kB / 0.6892 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.4282, allocations: 164.2 kB / 0.6893 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.4296, allocations: 0.8646 MB / 0.6902 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.4299, allocations: 142.7 kB / 0.6903 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.4301, allocations: 98.78 kB / 0.6904 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.4301, allocations: 6.094 kB / 0.6904 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.4301, allocations: 40.75 kB / 0.6904 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 3.336e-06/0.4302, allocations: 3.984 kB / 0.6904 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006138/0.4308, allocations: 250.5 kB / 0.6907 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.4308, allocations: 57.41 kB / 0.6907 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.4313, allocations: 420 kB / 0.6911 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.4313, allocations: 25.7 kB / 0.6912 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4315, allocations: 217.1 kB / 0.6914 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.4316, allocations: 62.91 kB / 0.6914 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.4316, allocations: 32.67 kB / 0.6915 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4318, allocations: 348.1 kB / 0.6918 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.4319, allocations: 56.41 kB / 0.6919 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4321, allocations: 54.03 kB / 0.6919 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.4323, allocations: 141.9 kB / 0.692 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4323, allocations: 0 / 0.692 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003814/0.4327, allocations: 211.4 kB / 0.6922 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4327, allocations: 4.406 kB / 0.6922 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4327, allocations: 1.188 kB / 0.6922 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4328, allocations: 1.094 kB / 0.6922 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.433, allocations: 53.34 kB / 0.6923 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.433, allocations: 1.125 kB / 0.6923 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.4332, allocations: 29.48 kB / 0.6923 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4332, allocations: 3.406 kB / 0.6923 GB, free: 12.59 MB / 0.5137 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.4334, allocations: 166.3 kB / 0.6925 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.4334, allocations: 40.42 kB / 0.6925 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.4335, allocations: 39.66 kB / 0.6926 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.4335, allocations: 2.25 kB / 0.6926 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4335, allocations: 0 / 0.6926 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4335, allocations: 0 / 0.6926 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.4339, allocations: 381.5 kB / 0.6929 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4339, allocations: 8.719 kB / 0.6929 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.4342, allocations: 53.06 kB / 0.693 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4342, allocations: 1.531 kB / 0.693 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4342, allocations: 1.25 kB / 0.693 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4342, allocations: 1.469 kB / 0.693 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4342, allocations: 0 / 0.693 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.4348, allocations: 384.3 kB / 0.6934 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4349, allocations: 126.9 kB / 0.6935 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.435, allocations: 1.344 kB / 0.6935 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4351, allocations: 13.08 kB / 0.6935 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.4352, allocations: 13.05 kB / 0.6935 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4352, allocations: 7.969 kB / 0.6935 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003298/0.4355, allocations: 296.4 kB / 0.6938 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4355, allocations: 4.062 kB / 0.6938 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003204/0.4358, allocations: 72.23 kB / 0.6939 GB, free: 11.42 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009273/0.4368, allocations: 0.9226 MB / 0.6948 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.4371, allocations: 144.7 kB / 0.6949 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4371, allocations: 0 / 0.6949 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.4373, allocations: 74.78 kB / 0.695 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.4378, allocations: 94.67 kB / 0.6951 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.4424, allocations: 3.484 MB / 0.6985 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4429, allocations: 0.7971 MB / 0.6993 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.443, allocations: 42.11 kB / 0.6993 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.4432, allocations: 112.5 kB / 0.6994 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.4432, allocations: 0 / 0.6994 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/0.6075, allocations: 8.01 MB / 0.7072 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/9.274, allocations: 12.31 kB / 0.7072 GB, free: 2.145 MB / 0.5137 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.769362434279174] Failed to read output from testmodel.py, exit status != 0: 9.34489324502647 9.360305221 8.931750505 Calling exit ...