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.00124/0.00124, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00147/0.00147, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.004121/0.004121, allocations: 291.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.244/1.244, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.002904/0.002904, allocations: 100.5 kB / 0.7403 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1698, allocations: 95.39 MB / 0.8334 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003615/0.1734, allocations: 1.652 MB / 0.835 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1763, allocations: 1.656 MB / 0.8367 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1764, allocations: 0 / 0.8367 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.1769, allocations: 59.67 kB / 0.8367 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1773, allocations: 103.5 kB / 0.8368 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1775, allocations: 71.69 kB / 0.8369 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.1779, allocations: 183.6 kB / 0.8371 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.043e-05/0.1779, allocations: 3.984 kB / 0.8371 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1781, allocations: 71.7 kB / 0.8371 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.1783, allocations: 79.72 kB / 0.8372 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1783, allocations: 8 kB / 0.8372 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.1786, allocations: 111.9 kB / 0.8373 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1787, allocations: 51.83 kB / 0.8374 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.1788, allocations: 47.72 kB / 0.8374 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.1793, allocations: 255.3 kB / 0.8377 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1793, allocations: 0 / 0.8377 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1793, allocations: 0 / 0.8377 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.1793, allocations: 7.938 kB / 0.8377 GB, free: 3.965 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.0008432/0.1802, allocations: 417.1 kB / 0.8381 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.1802, allocations: 13.34 kB / 0.8381 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.07e-05/0.1802, allocations: 192 / 0.8381 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.1803, allocations: 38.73 kB / 0.8381 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.1804, allocations: 20.8 kB / 0.8381 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.1809, allocations: 195.7 kB / 0.8383 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1809, allocations: 12.12 kB / 0.8383 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1809, allocations: 7.938 kB / 0.8383 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.1812, allocations: 157 kB / 0.8385 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1812, allocations: 0 / 0.8385 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1813, allocations: 0 / 0.8385 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.1813, allocations: 4 kB / 0.8385 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.1816, allocations: 191.8 kB / 0.8387 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.1819, allocations: 204.6 kB / 0.8389 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.1825, allocations: 202.4 kB / 0.8391 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1826, allocations: 56.83 kB / 0.8391 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1826, allocations: 3.984 kB / 0.8391 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1828, allocations: 129.3 kB / 0.8392 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1828, allocations: 3.938 kB / 0.8392 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006027/0.1835, allocations: 257.4 kB / 0.8395 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1835, allocations: 81.11 kB / 0.8396 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.1838, allocations: 256 kB / 0.8398 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.1839, allocations: 29.7 kB / 0.8398 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.184, allocations: 116.1 kB / 0.84 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.184, allocations: 47.64 kB / 0.84 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.1841, allocations: 37.64 kB / 0.84 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1843, allocations: 330.8 kB / 0.8403 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1844, allocations: 59.95 kB / 0.8404 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1846, allocations: 114.3 kB / 0.8405 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.1849, allocations: 151.5 kB / 0.8407 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1849, allocations: 0 / 0.8407 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004156/0.1853, allocations: 217.5 kB / 0.8409 GB, free: 460 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1853, allocations: 4 kB / 0.8409 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1853, allocations: 0 / 0.8409 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1853, allocations: 3.984 kB / 0.8409 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1855, allocations: 36.05 kB / 0.8409 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1855, allocations: 0 / 0.8409 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.1855, allocations: 11.95 kB / 0.8409 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1856, allocations: 4 kB / 0.8409 GB, free: 400 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.0001614/0.1857, allocations: 144.3 kB / 0.8411 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.1858, allocations: 19.91 kB / 0.8411 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.1864, allocations: 285.7 kB / 0.8414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1864, allocations: 7.984 kB / 0.8414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1864, allocations: 0 / 0.8414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1864, allocations: 7.938 kB / 0.8414 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1866, allocations: 224.6 kB / 0.8416 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1866, allocations: 0 / 0.8416 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.1868, allocations: 35.92 kB / 0.8416 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1868, allocations: 0 / 0.8416 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1868, allocations: 8 kB / 0.8416 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1868, allocations: 0 / 0.8416 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1868, allocations: 0 / 0.8416 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.1873, allocations: 280.8 kB / 0.8419 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.1873, allocations: 19.83 kB / 0.8419 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.1873, allocations: 8 kB / 0.8419 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1874, allocations: 12 kB / 0.8419 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1875, allocations: 11.97 kB / 0.8419 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1875, allocations: 8 kB / 0.8419 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002678/0.1878, allocations: 199.3 kB / 0.8421 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1878, allocations: 0 / 0.8421 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003067/0.1881, allocations: 63.86 kB / 0.8422 GB, free: 15 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.002629/0.1907, allocations: 1.255 MB / 0.8434 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.1911, allocations: 151.9 kB / 0.8436 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1911, allocations: 4.062 kB / 0.8436 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1912, allocations: 87.83 kB / 0.8437 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.0003148/0.1915, allocations: 35.98 kB / 0.8437 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.1943, allocations: 2.121 MB / 0.8458 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.1944, allocations: 123.9 kB / 0.8459 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.1945, allocations: 49.45 kB / 0.8459 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1947, allocations: 71.39 kB / 0.846 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.1947, allocations: 0 / 0.846 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.2337, allocations: 6.053 MB / 0.8519 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.75, allocations: 10.41 kB / 0.8519 GB, free: 5.262 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 os._exit(0), Time elapsed: 16.08753626095131] Failed to read output from testmodel.py, exit status != 0: 11.964016993995756 11.983307288 11.80052814 Calling exit ...