Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04253/0.04253, allocations: 9.13 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001032/0.001032, allocations: 91.27 kB / 35.33 MB, free: 1.066 MB / 24.77 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.001333/0.001333, allocations: 163.7 kB / 38.73 MB, free: 2.508 MB / 24.77 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 0.9664/0.9664, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003909/0.003909, allocations: 0.8224 MB / 276.5 MB, free: 0.7383 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.612/1.612, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 4 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.604e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003733/0.003759, allocations: 1.76 MB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.005819, allocations: 1.422 MB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.005897, allocations: 4 kB / 0.641 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.006163, allocations: 39.7 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.006593, allocations: 107.3 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.006995, allocations: 147.5 kB / 0.6413 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.007339, allocations: 261.4 kB / 0.6415 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.007443, allocations: 14.23 kB / 0.6415 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03015/0.03759, allocations: 9.462 MB / 0.6508 GB, free: 0.7852 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.03774, allocations: 75.83 kB / 0.6508 GB, free: 0.7109 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.03777, allocations: 16 kB / 0.6509 GB, free: 0.6953 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.03791, allocations: 59.86 kB / 0.6509 GB, free: 0.6367 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.03799, allocations: 87.73 kB / 0.651 GB, free: 0.5508 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.03806, allocations: 67.77 kB / 0.6511 GB, free: 496 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.03836, allocations: 243.1 kB / 0.6513 GB, free: 252 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.03836, allocations: 0 / 0.6513 GB, free: 252 kB / 0.6043 GB Notification: Performance of FrontEnd: time 1.052e-06/0.03836, allocations: 0 / 0.6513 GB, free: 252 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.03837, allocations: 0 / 0.6513 GB, free: 252 kB / 0.6043 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.0004944/0.03886, allocations: 451.9 kB / 0.6517 GB, free: 15.78 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.03889, allocations: 11.98 kB / 0.6517 GB, free: 15.77 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.03894, allocations: 24.92 kB / 0.6518 GB, free: 15.74 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.03916, allocations: 236.7 kB / 0.652 GB, free: 15.48 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.03918, allocations: 24.34 kB / 0.652 GB, free: 15.46 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.0392, allocations: 12.38 kB / 0.652 GB, free: 15.45 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.0394, allocations: 242.4 kB / 0.6523 GB, free: 15.18 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.03941, allocations: 192 / 0.6523 GB, free: 15.18 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.03942, allocations: 12.12 kB / 0.6523 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.03943, allocations: 4 kB / 0.6523 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.03984, allocations: 486.5 kB / 0.6527 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.04031, allocations: 334.8 kB / 0.6531 GB, free: 14.34 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.04045, allocations: 112 kB / 0.6532 GB, free: 14.22 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.04049, allocations: 41.3 kB / 0.6532 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.04053, allocations: 23.97 kB / 0.6532 GB, free: 14.16 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.04068, allocations: 151.2 kB / 0.6534 GB, free: 13.99 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.04068, allocations: 0 / 0.6534 GB, free: 13.99 MB / 0.6199 GB Notification: Performance of matching and sorting (n=33): time 0.000219/0.0409, allocations: 166.9 kB / 0.6535 GB, free: 13.82 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.04094, allocations: 110.8 kB / 0.6536 GB, free: 13.69 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.04105, allocations: 209 kB / 0.6538 GB, free: 13.47 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.04107, allocations: 29.7 kB / 0.6539 GB, free: 13.44 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.04112, allocations: 113.1 kB / 0.654 GB, free: 13.32 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.04118, allocations: 111 kB / 0.6541 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.04123, allocations: 57.67 kB / 0.6541 GB, free: 13.15 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.04134, allocations: 334.8 kB / 0.6544 GB, free: 12.82 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.04138, allocations: 31.92 kB / 0.6545 GB, free: 12.79 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.04145, allocations: 119 kB / 0.6546 GB, free: 12.65 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.04155, allocations: 96.03 kB / 0.6547 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.04155, allocations: 0 / 0.6547 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001388/0.04169, allocations: 141.5 kB / 0.6548 GB, free: 12.41 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.0417, allocations: 4 kB / 0.6548 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.04171, allocations: 0 / 0.6548 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.04172, allocations: 0 / 0.6548 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.04185, allocations: 59.91 kB / 0.6549 GB, free: 12.34 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.04185, allocations: 0 / 0.6549 GB, free: 12.34 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.04192, allocations: 23.88 kB / 0.6549 GB, free: 12.32 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.04193, allocations: 8.031 kB / 0.6549 GB, free: 12.31 MB / 0.6199 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 8.21e-05/0.04201, allocations: 128.6 kB / 0.655 GB, free: 12.18 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.04204, allocations: 31.91 kB / 0.6551 GB, free: 12.14 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.04229, allocations: 221.1 kB / 0.6553 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.04229, allocations: 7.984 kB / 0.6553 GB, free: 11.92 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.04229, allocations: 0 / 0.6553 GB, free: 11.92 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0423, allocations: 0 / 0.6553 GB, free: 11.92 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.04243, allocations: 157.6 kB / 0.6554 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.04243, allocations: 0 / 0.6554 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.04252, allocations: 47.91 kB / 0.6555 GB, free: 11.7 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.04253, allocations: 7.938 kB / 0.6555 GB, free: 11.69 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.04254, allocations: 7.984 kB / 0.6555 GB, free: 11.68 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.04254, allocations: 4 kB / 0.6555 GB, free: 11.68 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.04254, allocations: 4 kB / 0.6555 GB, free: 11.68 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.04269, allocations: 165.9 kB / 0.6557 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.04276, allocations: 59.69 kB / 0.6557 GB, free: 11.44 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.04279, allocations: 15.92 kB / 0.6557 GB, free: 11.42 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.04284, allocations: 8 kB / 0.6557 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.04288, allocations: 31.88 kB / 0.6558 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.04289, allocations: 7.984 kB / 0.6558 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.04294, allocations: 70.78 kB / 0.6558 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6e-08/0.04294, allocations: 0 / 0.6558 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.00022/0.04316, allocations: 51.95 kB / 0.6559 GB, free: 11.25 MB / 0.6199 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.0008618/0.04403, allocations: 453 kB / 0.6563 GB, free: 10.79 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.04419, allocations: 117.2 kB / 0.6564 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.04419, allocations: 8 kB / 0.6564 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.04426, allocations: 80.61 kB / 0.6565 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.04439, allocations: 40.42 kB / 0.6566 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.04502, allocations: 420.4 kB / 0.657 GB, free: 10.11 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.04507, allocations: 94.05 kB / 0.657 GB, free: 9.992 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.04518, allocations: 70.97 kB / 0.6571 GB, free: 9.922 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.04531, allocations: 115.3 kB / 0.6572 GB, free: 9.809 MB / 0.6199 GB Notification: Performance of SimCode: time 6.81e-07/0.04531, allocations: 0 / 0.6572 GB, free: 9.809 MB / 0.6199 GB Notification: Performance of Templates: time 0.004819/0.05013, allocations: 3.165 MB / 0.6603 GB, free: 6.633 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.551942390855402]