Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.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.04233/0.04233, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.001289/0.001289, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001572/0.001572, allocations: 164.8 kB / 38.73 MB, free: 2.492 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.9421/0.9421, 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.004212/0.004212, allocations: 0.8217 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.656/1.656, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.CheckRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 3.938 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.459e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity): time 0.002259/0.002284, allocations: 1.771 MB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.003903, allocations: 1.636 MB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.00397, allocations: 0 / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.004176, allocations: 23.8 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.004522, allocations: 123.3 kB / 0.6414 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.004869, allocations: 179.4 kB / 0.6415 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.005112, allocations: 257.4 kB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.005193, allocations: 25.94 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03003/0.03522, allocations: 9.457 MB / 0.651 GB, free: 0.4922 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.03538, allocations: 83.75 kB / 0.6511 GB, free: 420 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.03541, allocations: 16 kB / 0.6511 GB, free: 404 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.03566, allocations: 107.8 kB / 0.6512 GB, free: 296 kB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.03575, allocations: 87.78 kB / 0.6513 GB, free: 208 kB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.03583, allocations: 67.77 kB / 0.6514 GB, free: 140 kB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.03626, allocations: 290.9 kB / 0.6517 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.03627, allocations: 0 / 0.6517 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.432e-06/0.03627, allocations: 0 / 0.6517 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.03627, allocations: 0 / 0.6517 GB, free: 15.85 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005799/0.03685, allocations: 464.1 kB / 0.6521 GB, free: 15.37 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.03689, allocations: 15.98 kB / 0.6521 GB, free: 15.36 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.03695, allocations: 24.92 kB / 0.6521 GB, free: 15.33 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.03721, allocations: 244.6 kB / 0.6524 GB, free: 15.07 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.03723, allocations: 20.69 kB / 0.6524 GB, free: 15.05 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.03726, allocations: 12.38 kB / 0.6524 GB, free: 15.04 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.03749, allocations: 226.3 kB / 0.6526 GB, free: 14.79 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.0375, allocations: 192 / 0.6526 GB, free: 14.79 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.03752, allocations: 8.125 kB / 0.6526 GB, free: 14.78 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.03752, allocations: 4 kB / 0.6526 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.03826, allocations: 487 kB / 0.6531 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.03879, allocations: 343 kB / 0.6534 GB, free: 13.94 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.03901, allocations: 131.1 kB / 0.6536 GB, free: 13.8 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.03908, allocations: 53.33 kB / 0.6536 GB, free: 13.75 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.03934, allocations: 60.22 kB / 0.6537 GB, free: 13.69 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.03951, allocations: 127.3 kB / 0.6538 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.03951, allocations: 0 / 0.6538 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35): time 0.0002911/0.0398, allocations: 173.3 kB / 0.6539 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.03985, allocations: 106.8 kB / 0.654 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.03999, allocations: 205 kB / 0.6542 GB, free: 13.04 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.04002, allocations: 29.7 kB / 0.6543 GB, free: 13 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.04007, allocations: 117.2 kB / 0.6544 GB, free: 12.88 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.04015, allocations: 118.9 kB / 0.6545 GB, free: 12.77 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.04023, allocations: 57.67 kB / 0.6546 GB, free: 12.7 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.04032, allocations: 338.8 kB / 0.6549 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.04037, allocations: 31.92 kB / 0.6549 GB, free: 12.33 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.04047, allocations: 115 kB / 0.655 GB, free: 12.2 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.04061, allocations: 111.4 kB / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.04061, allocations: 0 / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003789/0.04099, allocations: 149.9 kB / 0.6553 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.041, allocations: 4 kB / 0.6553 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.04101, allocations: 0 / 0.6553 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.04102, allocations: 4.031 kB / 0.6553 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.0412, allocations: 59.91 kB / 0.6553 GB, free: 11.87 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.04121, allocations: 4 kB / 0.6553 GB, free: 11.86 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.04129, allocations: 23.83 kB / 0.6554 GB, free: 11.84 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.04131, allocations: 8 kB / 0.6554 GB, free: 11.83 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 (36): * Single equations (assignments): 36 * 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.0001107/0.04142, allocations: 128.6 kB / 0.6555 GB, free: 11.7 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.04146, allocations: 31.91 kB / 0.6555 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.04183, allocations: 232.8 kB / 0.6557 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.04183, allocations: 4 kB / 0.6557 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.04183, allocations: 0 / 0.6557 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.04184, allocations: 0 / 0.6557 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.04202, allocations: 169.6 kB / 0.6559 GB, free: 11.25 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.04203, allocations: 0 / 0.6559 GB, free: 11.25 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.04216, allocations: 51.91 kB / 0.656 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.04217, allocations: 7.938 kB / 0.656 GB, free: 11.19 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.04218, allocations: 4 kB / 0.656 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.04218, allocations: 4 kB / 0.656 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.04219, allocations: 0 / 0.656 GB, free: 11.18 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.0424, allocations: 178.6 kB / 0.6561 GB, free: 10.98 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.04248, allocations: 59.7 kB / 0.6562 GB, free: 10.93 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.04252, allocations: 7.938 kB / 0.6562 GB, free: 10.92 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.0426, allocations: 15.98 kB / 0.6562 GB, free: 10.9 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.04265, allocations: 27.89 kB / 0.6562 GB, free: 10.88 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.04267, allocations: 7.984 kB / 0.6563 GB, free: 10.87 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 7.652e-05/0.04275, allocations: 70.78 kB / 0.6563 GB, free: 10.8 MB / 0.6199 GB Notification: Performance of sort global known variables: time 7e-08/0.04275, allocations: 0 / 0.6563 GB, free: 10.8 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002632/0.04301, allocations: 63.94 kB / 0.6564 GB, free: 10.73 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 (35): * Single equations (assignments): 34 * 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.001138/0.04415, allocations: 472.9 kB / 0.6568 GB, free: 10.26 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.04435, allocations: 112.6 kB / 0.6569 GB, free: 10.14 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.04436, allocations: 8 kB / 0.6569 GB, free: 10.14 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.04446, allocations: 77.62 kB / 0.657 GB, free: 10.06 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.04462, allocations: 48.36 kB / 0.6571 GB, free: 10.01 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.04535, allocations: 425.8 kB / 0.6575 GB, free: 9.57 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.04541, allocations: 93.81 kB / 0.6576 GB, free: 9.461 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.04557, allocations: 74.95 kB / 0.6576 GB, free: 9.383 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.04574, allocations: 127.2 kB / 0.6578 GB, free: 9.258 MB / 0.6199 GB Notification: Performance of SimCode: time 9.52e-07/0.04574, allocations: 0 / 0.6578 GB, free: 9.258 MB / 0.6199 GB Notification: Performance of Templates: time 0.006441/0.05218, allocations: 3.553 MB / 0.6612 GB, free: 5.695 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.576732939109206]