Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001689/0.001689, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002068/0.002068, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.457/1.457, 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.002531/0.002531, allocations: 287.4 kB / 312.7 MB, free: 2.566 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.003021/0.003021, allocations: 113.9 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1706, allocations: 95.38 MB / 0.8327 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003116/0.1737, allocations: 1.689 MB / 0.8343 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1758, allocations: 1.352 MB / 0.8356 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.1759, allocations: 3.938 kB / 0.8356 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1761, allocations: 31.84 kB / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.1765, allocations: 113.8 kB / 0.8358 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.177, allocations: 153.5 kB / 0.8359 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1773, allocations: 261.5 kB / 0.8362 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1774, allocations: 21.52 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1775, allocations: 87.83 kB / 0.8363 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1777, allocations: 87.7 kB / 0.8363 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1778, allocations: 16 kB / 0.8364 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.178, allocations: 127.9 kB / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1781, allocations: 79.81 kB / 0.8366 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1782, allocations: 91.45 kB / 0.8366 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.1787, allocations: 342.7 kB / 0.837 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1787, allocations: 0 / 0.837 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1787, allocations: 4 kB / 0.837 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.1787, allocations: 0 / 0.837 GB, free: 3.828 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007888/0.1795, allocations: 0.4975 MB / 0.8375 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1795, allocations: 9.344 kB / 0.8375 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.1796, allocations: 54.73 kB / 0.8375 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.375e-05/0.1797, allocations: 28.75 kB / 0.8376 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.18, allocations: 225 kB / 0.8378 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.18, allocations: 12.38 kB / 0.8378 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.18, allocations: 16.38 kB / 0.8378 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.1805, allocations: 319.5 kB / 0.8381 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1805, allocations: 0 / 0.8381 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1805, allocations: 12 kB / 0.8381 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1805, allocations: 4 kB / 0.8381 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.1814, allocations: 0.6865 MB / 0.8388 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009737/0.1824, allocations: 0.511 MB / 0.8393 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1827, allocations: 221.2 kB / 0.8395 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1829, allocations: 92.81 kB / 0.8396 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.1829, allocations: 11.98 kB / 0.8396 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.1833, allocations: 207.7 kB / 0.8398 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.1833, allocations: 0 / 0.8398 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.0007049/0.184, allocations: 366.6 kB / 0.8401 GB, free: 416 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.1841, allocations: 140.5 kB / 0.8403 GB, free: 244 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.1844, allocations: 324.8 kB / 0.8406 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.1845, allocations: 29.7 kB / 0.8406 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1846, allocations: 132.7 kB / 0.8407 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/0.1847, allocations: 111.1 kB / 0.8408 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1848, allocations: 65.69 kB / 0.8409 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1849, allocations: 338.8 kB / 0.8412 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1851, allocations: 79.89 kB / 0.8413 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.1853, allocations: 209.5 kB / 0.8415 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.1857, allocations: 200.7 kB / 0.8417 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1857, allocations: 0 / 0.8417 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004816/0.1862, allocations: 281.8 kB / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1862, allocations: 7.984 kB / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1862, allocations: 0 / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1862, allocations: 8 kB / 0.842 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.1864, allocations: 55.91 kB / 0.842 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1864, allocations: 7.938 kB / 0.842 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1866, allocations: 27.81 kB / 0.8421 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.1866, allocations: 12 kB / 0.8421 GB, free: 14.32 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001736/0.1868, allocations: 162.5 kB / 0.8422 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.1868, allocations: 31.75 kB / 0.8423 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/0.1875, allocations: 372.7 kB / 0.8426 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1875, allocations: 4 kB / 0.8426 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1876, allocations: 7.938 kB / 0.8426 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1876, allocations: 3.984 kB / 0.8426 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.1879, allocations: 272.5 kB / 0.8429 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1879, allocations: 4 kB / 0.8429 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1881, allocations: 55.92 kB / 0.843 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1881, allocations: 3.984 kB / 0.843 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1881, allocations: 8 kB / 0.843 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1881, allocations: 0 / 0.843 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1881, allocations: 7.938 kB / 0.843 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.1886, allocations: 314.3 kB / 0.8433 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1887, allocations: 75.61 kB / 0.8433 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.1888, allocations: 4 kB / 0.8433 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1889, allocations: 20.03 kB / 0.8434 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.189, allocations: 31.88 kB / 0.8434 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.189, allocations: 19.98 kB / 0.8434 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002614/0.1893, allocations: 240.5 kB / 0.8436 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1893, allocations: 0 / 0.8436 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003288/0.1896, allocations: 75.81 kB / 0.8437 GB, free: 12.55 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002369/0.192, allocations: 1.239 MB / 0.8449 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.1924, allocations: 219.8 kB / 0.8451 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1924, allocations: 0 / 0.8451 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.1926, allocations: 116.7 kB / 0.8452 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1929, allocations: 43.56 kB / 0.8453 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.1962, allocations: 2.479 MB / 0.8477 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.1964, allocations: 150.9 kB / 0.8479 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003639/0.1967, allocations: 142.9 kB / 0.848 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.1969, allocations: 91.39 kB / 0.8481 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.1969, allocations: 0 / 0.8481 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2342, allocations: 6.671 MB / 0.8546 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.66, allocations: 0 / 0.8546 GB, free: 1.578 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.004226095043123] Failed to read output from testmodel.py, exit status != 0: 11.868718924932182 11.886321365 11.704044763 Calling exit ...