Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.04321/0.04321, allocations: 9.126 MB / 28.99 MB, free: 328 kB / 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.0009958/0.0009958, allocations: 91.27 kB / 35.33 MB, free: 0.9219 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.00115/0.00115, allocations: 168.4 kB / 38.73 MB, free: 2.391 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.9326/0.9326, 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.004024/0.004024, allocations: 0.829 MB / 276.5 MB, free: 0.7422 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.624/1.624, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.334e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001453/0.001466, allocations: 1.341 MB / 0.6392 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.00238, allocations: 0.8409 MB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.002396, allocations: 0 / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.002413, allocations: 3.938 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.002453, allocations: 3.938 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.002808, allocations: 139.3 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.00287, allocations: 23.92 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.028e-05/0.0029, allocations: 3.984 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.002951, allocations: 15.92 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.002999, allocations: 7.984 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.003011, allocations: 0 / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.00321, allocations: 163.7 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.003226, allocations: 7.984 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.00324, allocations: 4 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.003459, allocations: 143.6 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003461, allocations: 0 / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003461, allocations: 0 / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003465, allocations: 0 / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003135/0.003779, allocations: 260.3 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.003813, allocations: 15.98 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.003843, allocations: 12.84 kB / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.00392, allocations: 110.1 kB / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.003982, allocations: 59.97 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.003992, allocations: 384 / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.00409, allocations: 88.39 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004097, allocations: 0 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.004104, allocations: 0 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004109, allocations: 0 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.004131, allocations: 4 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.802e-05/0.004229, allocations: 65.05 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.004367, allocations: 38.53 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.004381, allocations: 8.859 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.004504, allocations: 32.06 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.004526, allocations: 34.56 kB / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.004527, allocations: 3.938 kB / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 9.248e-05/0.00462, allocations: 45.62 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.004645, allocations: 55.34 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.004688, allocations: 102.7 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.004699, allocations: 29.7 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.836e-05/0.004717, allocations: 80.14 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.004739, allocations: 15.89 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.00476, allocations: 17.72 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.004826, allocations: 318.8 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.004834, allocations: 0 / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.004844, allocations: 4 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.004868, allocations: 17.31 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00487, allocations: 0 / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.591e-05/0.004916, allocations: 49.66 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.004926, allocations: 4 kB / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00493, allocations: 0 / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.004944, allocations: 4 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.961e-05/0.004974, allocations: 15.94 kB / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.004977, allocations: 0 / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.00499, allocations: 3.938 kB / 0.6419 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004995, allocations: 4 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.001e-05/0.005045, allocations: 109.8 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.00505, allocations: 4 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.00512, allocations: 49.31 kB / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005122, allocations: 0 / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.005125, allocations: 7.938 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005129, allocations: 3.984 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.508e-05/0.005194, allocations: 73.89 kB / 0.6422 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005195, allocations: 0 / 0.6422 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.005213, allocations: 12 kB / 0.6422 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005214, allocations: 0 / 0.6422 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.005221, allocations: 4 kB / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005221, allocations: 0 / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005222, allocations: 0 / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.667e-05/0.005279, allocations: 73.05 kB / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.0053, allocations: 0 / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-06/0.005307, allocations: 3.938 kB / 0.6422 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.005322, allocations: 8 kB / 0.6423 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.00535, allocations: 11.92 kB / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.005353, allocations: 0 / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.646e-06/0.005362, allocations: 12.8 kB / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005362, allocations: 0 / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001295/0.005491, allocations: 35.86 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.000151/0.005642, allocations: 132.1 kB / 0.6424 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.192e-05/0.005704, allocations: 12.86 kB / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.005707, allocations: 8 kB / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.005724, allocations: 16.78 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.303e-05/0.005807, allocations: 4 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.006204, allocations: 128.7 kB / 0.6426 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.647e-05/0.00623, allocations: 55.36 kB / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.006256, allocations: 11.84 kB / 0.6427 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.006299, allocations: 55.38 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of SimCode: time 6.51e-07/0.0063, allocations: 0 / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of Templates: time 0.002637/0.008937, allocations: 1.293 MB / 0.644 GB, free: 7.555 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.295889902859926]