Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.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.04207/0.04207, 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.001647/0.001647, 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.002133/0.002133, allocations: 165.3 kB / 38.73 MB, free: 2.516 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 1.014/1.014, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.006188/0.006188, allocations: 0.8262 MB / 276.5 MB, free: 0.75 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.639/1.639, 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.ConvertRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.819e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity): time 0.003482/0.00351, allocations: 1.741 MB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.005992, allocations: 1.426 MB / 0.641 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.006087, allocations: 0 / 0.641 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.006337, allocations: 27.78 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.00685, allocations: 115.4 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.007266, allocations: 135.5 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.007595, allocations: 253.5 kB / 0.6415 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.007698, allocations: 8 kB / 0.6415 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0319/0.0396, allocations: 9.457 MB / 0.6507 GB, free: 0.8242 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.03975, allocations: 71.83 kB / 0.6508 GB, free: 0.7539 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.03978, allocations: 19.98 kB / 0.6508 GB, free: 0.7344 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.03992, allocations: 55.92 kB / 0.6509 GB, free: 0.6797 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.04, allocations: 79.75 kB / 0.6509 GB, free: 0.6016 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.04006, allocations: 67.75 kB / 0.651 GB, free: 0.5352 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.04042, allocations: 235.1 kB / 0.6512 GB, free: 312 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.04042, allocations: 0 / 0.6512 GB, free: 312 kB / 0.6043 GB Notification: Performance of FrontEnd: time 1.774e-06/0.04042, allocations: 3.938 kB / 0.6512 GB, free: 308 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.944e-06/0.04043, allocations: 0 / 0.6512 GB, free: 308 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.0006715/0.0411, allocations: 436.1 kB / 0.6516 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.04115, allocations: 15.98 kB / 0.6517 GB, free: 15.83 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.04122, allocations: 28.91 kB / 0.6517 GB, free: 15.8 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.0415, allocations: 240.7 kB / 0.6519 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.04153, allocations: 12.38 kB / 0.6519 GB, free: 15.53 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.04156, allocations: 16.38 kB / 0.6519 GB, free: 15.52 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.04187, allocations: 212.8 kB / 0.6521 GB, free: 15.28 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.04188, allocations: 192 / 0.6521 GB, free: 15.28 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.0419, allocations: 12.06 kB / 0.6522 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.04191, allocations: 4 kB / 0.6522 GB, free: 15.26 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.0424, allocations: 490.5 kB / 0.6526 GB, free: 14.78 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.04304, allocations: 331 kB / 0.6529 GB, free: 14.44 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.04326, allocations: 140.6 kB / 0.6531 GB, free: 14.29 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.04332, allocations: 37.41 kB / 0.6531 GB, free: 14.25 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.04336, allocations: 24.2 kB / 0.6531 GB, free: 14.23 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.04355, allocations: 124.8 kB / 0.6533 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/0.04355, allocations: 4 kB / 0.6533 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of matching and sorting (n=34): time 0.0002779/0.04383, allocations: 161.5 kB / 0.6534 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.0439, allocations: 110.8 kB / 0.6535 GB, free: 13.8 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.04404, allocations: 205 kB / 0.6537 GB, free: 13.58 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.04407, allocations: 29.7 kB / 0.6537 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.04413, allocations: 109.2 kB / 0.6538 GB, free: 13.43 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.04421, allocations: 118.9 kB / 0.654 GB, free: 13.32 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.04427, allocations: 57.53 kB / 0.654 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.04439, allocations: 338.8 kB / 0.6543 GB, free: 12.91 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.04443, allocations: 23.98 kB / 0.6544 GB, free: 12.89 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.04453, allocations: 117.8 kB / 0.6545 GB, free: 12.75 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.04465, allocations: 104 kB / 0.6546 GB, free: 12.65 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.04466, allocations: 0 / 0.6546 GB, free: 12.65 MB / 0.6199 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001854/0.04484, allocations: 145.3 kB / 0.6547 GB, free: 12.5 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.04486, allocations: 8.031 kB / 0.6547 GB, free: 12.49 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.04487, allocations: 0 / 0.6547 GB, free: 12.49 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.04488, allocations: 4 kB / 0.6547 GB, free: 12.49 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.04504, allocations: 51.91 kB / 0.6548 GB, free: 12.44 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.04505, allocations: 4 kB / 0.6548 GB, free: 12.43 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.04513, allocations: 23.83 kB / 0.6548 GB, free: 12.41 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.04514, allocations: 8 kB / 0.6548 GB, free: 12.4 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 (35): * Single equations (assignments): 35 * 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.0001292/0.04527, allocations: 128.6 kB / 0.6549 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.04531, allocations: 31.91 kB / 0.655 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.04561, allocations: 230 kB / 0.6552 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.04561, allocations: 4 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.04561, allocations: 0 / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.04562, allocations: 4 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.04581, allocations: 153.6 kB / 0.6553 GB, free: 11.83 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.04581, allocations: 0 / 0.6553 GB, free: 11.83 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.04592, allocations: 55.91 kB / 0.6554 GB, free: 11.78 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.04592, allocations: 0 / 0.6554 GB, free: 11.78 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.04594, allocations: 15.86 kB / 0.6554 GB, free: 11.76 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.04594, allocations: 4 kB / 0.6554 GB, free: 11.76 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.04594, allocations: 0 / 0.6554 GB, free: 11.76 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.0461, allocations: 170.2 kB / 0.6556 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.04617, allocations: 55.7 kB / 0.6556 GB, free: 11.52 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.0462, allocations: 15.92 kB / 0.6556 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.215e-05/0.04626, allocations: 12 kB / 0.6556 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.0463, allocations: 19.95 kB / 0.6557 GB, free: 11.47 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.04632, allocations: 11.98 kB / 0.6557 GB, free: 11.46 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.04638, allocations: 66.78 kB / 0.6557 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.04638, allocations: 0 / 0.6557 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0001841/0.04656, allocations: 48 kB / 0.6558 GB, free: 11.35 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 (34): * Single equations (assignments): 33 * 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.001079/0.04764, allocations: 445 kB / 0.6562 GB, free: 10.9 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.04785, allocations: 120.5 kB / 0.6563 GB, free: 10.78 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.04785, allocations: 0 / 0.6563 GB, free: 10.78 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.04794, allocations: 85.17 kB / 0.6564 GB, free: 10.69 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.04809, allocations: 36.48 kB / 0.6564 GB, free: 10.66 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.0488, allocations: 404.6 kB / 0.6568 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.404e-05/0.04887, allocations: 94.05 kB / 0.6569 GB, free: 10.12 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.04901, allocations: 78.94 kB / 0.657 GB, free: 10.04 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.04915, allocations: 119.3 kB / 0.6571 GB, free: 9.922 MB / 0.6199 GB Notification: Performance of SimCode: time 1.031e-06/0.04915, allocations: 0 / 0.6571 GB, free: 9.922 MB / 0.6199 GB Notification: Performance of Templates: time 0.005814/0.05496, allocations: 3.105 MB / 0.6601 GB, free: 6.805 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.646911472082138]