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.001372/0.001372, 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.001539/0.001539, allocations: 211.4 kB / 22.24 MB, free: 4.855 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.816 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.002609/0.002609, allocations: 287.6 kB / 312.7 MB, free: 2.645 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.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.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.002894/0.002894, allocations: 106.3 kB / 0.7395 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1756, 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.003287/0.1789, allocations: 1.656 MB / 0.8343 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.1817, allocations: 1.668 MB / 0.8359 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.1817, allocations: 0 / 0.8359 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.1822, allocations: 59.69 kB / 0.836 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1825, allocations: 99.53 kB / 0.8361 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1827, allocations: 71.69 kB / 0.8361 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.183, allocations: 183.6 kB / 0.8363 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.1831, allocations: 4 kB / 0.8363 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1832, allocations: 67.7 kB / 0.8364 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1833, allocations: 67.8 kB / 0.8364 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1834, allocations: 12 kB / 0.8364 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.1836, allocations: 115.9 kB / 0.8366 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.1837, allocations: 47.84 kB / 0.8366 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.1838, allocations: 51.72 kB / 0.8366 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.1842, allocations: 251.3 kB / 0.8369 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1843, allocations: 0 / 0.8369 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1843, allocations: 7.875 kB / 0.8369 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.1843, allocations: 4 kB / 0.8369 GB, free: 3.961 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.0007094/0.185, allocations: 413.1 kB / 0.8373 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.185, allocations: 13.34 kB / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.1851, allocations: 38.73 kB / 0.8373 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.1851, allocations: 24.8 kB / 0.8374 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1855, allocations: 195.8 kB / 0.8376 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1856, allocations: 384 / 0.8376 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1856, allocations: 11.88 kB / 0.8376 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1859, allocations: 161 kB / 0.8377 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1859, allocations: 0 / 0.8377 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1859, allocations: 4 kB / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1859, allocations: 0 / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.1863, allocations: 191.8 kB / 0.8379 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.1865, allocations: 200.6 kB / 0.8381 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.1871, allocations: 206.3 kB / 0.8383 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1872, allocations: 60.83 kB / 0.8384 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.1872, allocations: 0 / 0.8384 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.1875, allocations: 116.2 kB / 0.8385 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1875, allocations: 112 / 0.8385 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006074/0.1881, allocations: 267.4 kB / 0.8387 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.1881, allocations: 81.11 kB / 0.8388 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.1885, allocations: 256 kB / 0.839 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1885, allocations: 33.69 kB / 0.8391 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.1886, allocations: 116.1 kB / 0.8392 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.1887, allocations: 51.62 kB / 0.8392 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.1887, allocations: 37.64 kB / 0.8393 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1889, allocations: 330.8 kB / 0.8396 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.189, allocations: 55.97 kB / 0.8396 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1892, allocations: 110.6 kB / 0.8397 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.1894, allocations: 145.6 kB / 0.8399 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.1894, allocations: 11.92 kB / 0.8399 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004002/0.1898, allocations: 215.7 kB / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1899, allocations: 4 kB / 0.8401 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1899, allocations: 0 / 0.8401 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1899, allocations: 4 kB / 0.8401 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.19, allocations: 27.92 kB / 0.8401 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.19, allocations: 3.984 kB / 0.8401 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.1901, allocations: 11.89 kB / 0.8401 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1901, allocations: 8 kB / 0.8402 GB, free: 404 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.000138/0.1903, allocations: 140.3 kB / 0.8403 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.1903, allocations: 19.94 kB / 0.8403 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.1909, allocations: 294.8 kB / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1909, allocations: 0 / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1909, allocations: 0 / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1909, allocations: 3.984 kB / 0.8406 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1912, allocations: 224.5 kB / 0.8408 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1912, allocations: 0 / 0.8408 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1913, allocations: 31.98 kB / 0.8408 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1913, allocations: 3.938 kB / 0.8408 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1913, allocations: 8 kB / 0.8408 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1913, allocations: 4 kB / 0.8409 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1913, allocations: 0 / 0.8409 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.1918, allocations: 283.8 kB / 0.8411 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1918, allocations: 23.83 kB / 0.8411 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1919, allocations: 4 kB / 0.8411 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.1919, allocations: 8 kB / 0.8412 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.192, allocations: 15.97 kB / 0.8412 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.192, allocations: 8 kB / 0.8412 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002057/0.1922, 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.1922, allocations: 0 / 0.8414 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003415/0.1926, allocations: 59.86 kB / 0.8414 GB, free: 15.02 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.002745/0.1953, allocations: 1.264 MB / 0.8427 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.1957, allocations: 148.4 kB / 0.8428 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1957, allocations: 0 / 0.8428 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.1959, allocations: 91.83 kB / 0.8429 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1962, allocations: 29.48 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.002946/0.1991, allocations: 2.12 MB / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.1993, allocations: 132 kB / 0.8451 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.1994, allocations: 53.38 kB / 0.8452 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1996, allocations: 63.41 kB / 0.8452 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.1996, allocations: 0 / 0.8452 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/0.2424, allocations: 6.372 MB / 0.8514 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.46, allocations: 11.92 kB / 0.8515 GB, free: 4.926 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 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: 15.662165111862123] Failed to read output from testmodel.py, exit status != 0: 11.63258513296023 11.651974028 11.464638729 Calling exit ...