Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001823/0.001823, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002248/0.002248, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.777 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.002584/0.002584, allocations: 292.9 kB / 312.7 MB, free: 2.598 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.307/1.307, allocations: 180.6 MB / 0.5369 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 178] 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",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.00291/0.00291, allocations: 105.1 kB / 0.7395 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1697, allocations: 95.38 MB / 0.8327 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00536/0.1751, allocations: 1.656 MB / 0.8343 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002974/0.178, allocations: 1.672 MB / 0.8359 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.1781, allocations: 0 / 0.8359 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.1786, allocations: 55.7 kB / 0.836 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.1789, allocations: 99.53 kB / 0.8361 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.179, allocations: 75.67 kB / 0.8361 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.1793, allocations: 183.6 kB / 0.8363 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1794, allocations: 0 / 0.8363 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1795, allocations: 67.72 kB / 0.8364 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1796, allocations: 71.78 kB / 0.8364 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.1797, allocations: 12 kB / 0.8364 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1799, allocations: 115.9 kB / 0.8366 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.748e-05/0.1799, allocations: 47.83 kB / 0.8366 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.18, allocations: 51.72 kB / 0.8367 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.1804, allocations: 251.3 kB / 0.8369 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1804, allocations: 0 / 0.8369 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1804, allocations: 0 / 0.8369 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.1804, allocations: 3.938 kB / 0.8369 GB, free: 3.969 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007056/0.1811, allocations: 417.1 kB / 0.8373 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1812, allocations: 13.34 kB / 0.8373 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.1812, allocations: 38.75 kB / 0.8373 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.1813, allocations: 24.78 kB / 0.8374 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.1817, allocations: 195.7 kB / 0.8376 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1817, allocations: 4.375 kB / 0.8376 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1817, allocations: 7.938 kB / 0.8376 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.182, allocations: 153 kB / 0.8377 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.182, allocations: 0 / 0.8377 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.182, allocations: 11.98 kB / 0.8377 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.182, allocations: 0 / 0.8377 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.1823, allocations: 187.8 kB / 0.8379 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.1826, allocations: 196.6 kB / 0.8381 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.1831, allocations: 210.2 kB / 0.8383 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1832, allocations: 64.81 kB / 0.8384 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1833, allocations: 0 / 0.8384 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1835, allocations: 115.3 kB / 0.8385 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1835, allocations: 0 / 0.8385 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005839/0.1841, allocations: 260.2 kB / 0.8387 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.1841, allocations: 93.03 kB / 0.8388 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1844, allocations: 256 kB / 0.839 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1845, allocations: 25.7 kB / 0.8391 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.1846, allocations: 116.1 kB / 0.8392 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.1846, allocations: 55.61 kB / 0.8392 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.1847, allocations: 37.64 kB / 0.8393 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1849, allocations: 330.8 kB / 0.8396 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.185, allocations: 55.97 kB / 0.8396 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1851, allocations: 108.2 kB / 0.8397 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.1854, allocations: 145.6 kB / 0.8399 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1854, allocations: 7.938 kB / 0.8399 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003776/0.1858, allocations: 217.5 kB / 0.8401 GB, free: 468 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1858, allocations: 4 kB / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1858, allocations: 0 / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1858, allocations: 4 kB / 0.8401 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1859, allocations: 23.98 kB / 0.8401 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1859, allocations: 0 / 0.8401 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.186, allocations: 11.94 kB / 0.8401 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.186, allocations: 8 kB / 0.8401 GB, free: 416 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001482/0.1862, allocations: 152.8 kB / 0.8403 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.1862, allocations: 19.91 kB / 0.8403 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.1868, allocations: 286.9 kB / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1868, allocations: 4 kB / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1868, allocations: 0 / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1868, allocations: 0 / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.187, allocations: 224.5 kB / 0.8408 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.187, allocations: 3.938 kB / 0.8408 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1872, allocations: 35.92 kB / 0.8408 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1872, allocations: 4 kB / 0.8408 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1872, allocations: 8 kB / 0.8408 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1872, allocations: 0 / 0.8408 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1872, allocations: 0 / 0.8408 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.1876, allocations: 283.4 kB / 0.8411 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.1877, allocations: 19.78 kB / 0.8411 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1877, allocations: 11.98 kB / 0.8411 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.1878, allocations: 8 kB / 0.8412 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1878, allocations: 11.97 kB / 0.8412 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.1879, allocations: 12 kB / 0.8412 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002176/0.1881, allocations: 195.3 kB / 0.8414 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1881, allocations: 4 kB / 0.8414 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000306/0.1884, allocations: 63.86 kB / 0.8414 GB, free: 15.01 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002648/0.191, allocations: 1.26 MB / 0.8427 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.1914, allocations: 139.9 kB / 0.8428 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1914, allocations: 0 / 0.8428 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1916, allocations: 93.09 kB / 0.8429 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1919, allocations: 31.97 kB / 0.8429 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.1946, allocations: 2.127 MB / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.1947, allocations: 120 kB / 0.8451 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.1948, allocations: 49.44 kB / 0.8452 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1949, allocations: 67.41 kB / 0.8452 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.1949, allocations: 0 / 0.8452 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.2311, allocations: 6.373 MB / 0.8514 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.6, allocations: 4 kB / 0.8514 GB, free: 4.941 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.161602570209652] Failed to read output from testmodel.py, exit status != 0: 11.765085592400283 11.782770452 11.599221955 Calling exit ...