Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 220.7 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002447/0.002447, allocations: 285.5 kB / 313.5 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 98.45 kB / 0.7403 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1554, allocations: 95.39 MB / 0.8335 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002455/0.1578, allocations: 1.436 MB / 0.8349 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004072/0.1619, allocations: 2.621 MB / 0.8374 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.1619, allocations: 0 / 0.8374 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.1619, allocations: 7.922 kB / 0.8374 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.539e-05/0.162, allocations: 15.86 kB / 0.8375 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.1657, allocations: 1.636 MB / 0.8391 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.1658, allocations: 43.67 kB / 0.8391 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.1658, allocations: 11.94 kB / 0.8391 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.1659, allocations: 19.92 kB / 0.8391 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.808e-05/0.1659, allocations: 15.92 kB / 0.8391 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.1659, allocations: 0 / 0.8391 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.1681, allocations: 1.552 MB / 0.8407 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1681, allocations: 7.938 kB / 0.8407 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1681, allocations: 11.94 kB / 0.8407 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.1695, allocations: 1.079 MB / 0.8417 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1695, allocations: 0 / 0.8417 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1695, allocations: 0 / 0.8417 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1695, allocations: 4 kB / 0.8417 GB, free: 15.84 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005597/0.1701, allocations: 468 kB / 0.8422 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1701, allocations: 9.219 kB / 0.8422 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.995e-05/0.1701, allocations: 83.47 kB / 0.8423 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.1702, allocations: 106 kB / 0.8424 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.1703, allocations: 76.22 kB / 0.8425 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1704, allocations: 203.4 kB / 0.8426 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.1705, allocations: 150.9 kB / 0.8428 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.1705, allocations: 154.7 kB / 0.8429 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/0.1706, allocations: 105 kB / 0.843 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.1706, allocations: 79.28 kB / 0.8431 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.1707, allocations: 150.6 kB / 0.8433 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.1707, allocations: 154.6 kB / 0.8434 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.231e-05/0.1708, allocations: 154.5 kB / 0.8436 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.1711, allocations: 440.9 kB / 0.844 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.1712, allocations: 165.1 kB / 0.8441 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.1712, allocations: 84.08 kB / 0.8442 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1713, allocations: 75.28 kB / 0.8443 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.1713, allocations: 113.8 kB / 0.8444 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1713, allocations: 0 / 0.8444 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.179e-05/0.1714, allocations: 33.64 kB / 0.8444 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.1714, allocations: 130.7 kB / 0.8445 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1716, allocations: 133.8 kB / 0.8447 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1716, allocations: 25.7 kB / 0.8447 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.1717, allocations: 100.1 kB / 0.8448 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.1717, allocations: 0 / 0.8448 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1717, allocations: 17.72 kB / 0.8448 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1718, allocations: 318.8 kB / 0.8451 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.1718, allocations: 4 kB / 0.8451 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.1719, allocations: 7.938 kB / 0.8451 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.1719, allocations: 16.89 kB / 0.8451 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1719, allocations: 4.031 kB / 0.8451 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.172, allocations: 61.45 kB / 0.8452 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.172, allocations: 6.188 kB / 0.8452 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.1721, allocations: 8 kB / 0.8452 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1721, allocations: 0 / 0.8452 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.1721, allocations: 0 / 0.8452 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1721, allocations: 0 / 0.8452 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.1721, allocations: 0 / 0.8452 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1721, allocations: 4 kB / 0.8452 GB, free: 12.07 MB / 0.5919 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001017/0.1722, allocations: 185.7 kB / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.1723, allocations: 112.9 kB / 0.8455 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.1723, allocations: 120.6 kB / 0.8456 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7e-05/0.1724, allocations: 180.3 kB / 0.8458 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.295e-05/0.1725, allocations: 180.2 kB / 0.846 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-05/0.1725, allocations: 180.3 kB / 0.8461 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.1728, allocations: 388.2 kB / 0.8465 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.1728, allocations: 105 kB / 0.8466 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.1729, allocations: 105 kB / 0.8467 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.173, allocations: 180.2 kB / 0.8469 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.173, allocations: 180.3 kB / 0.8471 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.473e-05/0.1731, allocations: 184.2 kB / 0.8472 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.887e-05/0.1732, allocations: 180.3 kB / 0.8474 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1733, allocations: 311.7 kB / 0.8477 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1734, allocations: 112.9 kB / 0.8478 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.1735, allocations: 184.2 kB / 0.848 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.1735, allocations: 101 kB / 0.8481 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1736, allocations: 184.3 kB / 0.8483 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.1737, allocations: 104.9 kB / 0.8484 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.1738, allocations: 95.27 kB / 0.8484 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1738, allocations: 0 / 0.8484 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006983/0.1745, allocations: 294.9 kB / 0.8487 GB, free: 8.277 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001352/0.1758, allocations: 1.179 MB / 0.8499 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.997e-05/0.1759, allocations: 33.64 kB / 0.8499 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1759, allocations: 0 / 0.8499 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.1759, allocations: 4 kB / 0.8499 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.1764, allocations: 463.7 kB / 0.8504 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1779, allocations: 1.607 MB / 0.8519 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.1779, allocations: 67.33 kB / 0.852 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.1779, allocations: 0 / 0.852 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.178, allocations: 19.44 kB / 0.852 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.178, allocations: 0 / 0.852 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.2056, allocations: 7.291 MB / 0.8591 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.18, allocations: 8 kB / 0.8591 GB, free: 13.7 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.190268205013126] Failed to read output from testmodel.py, exit status != 0: 11.343759872019291 11.369177622 11.195067398 Calling exit ...