Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.AirProperties.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.04045/0.04045, allocations: 9.12 MB / 18.95 MB, free: 0.7109 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.006063/0.04652, allocations: 3.419 MB / 22.37 MB, free: 3.793 MB / 24.77 MB " [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.0005497/0.0005497, allocations: 83.56 kB / 23.2 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008743/0.001424, allocations: 443.4 kB / 23.63 MB, free: 2.535 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.0009116/0.0009116, allocations: 145 kB / 24.52 MB, free: 1.656 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002273, allocations: 482.4 kB / 24.99 MB, free: 1.184 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.001/1.001, allocations: 177.1 MB / 202.9 MB, free: 8.355 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1604/1.161, allocations: 53.67 MB / 256.5 MB, free: 5.383 MB / 250.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.003784/0.003784, allocations: 0.8322 MB / 258.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.00507, allocations: 0.6471 MB / 258.8 MB, free: 3.289 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.708/1.708, allocations: 274.9 MB / 0.5219 GB, free: 1.145 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1481/1.856, allocations: 78.89 MB / 0.5989 GB, free: 2.273 MB / 0.573 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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirProperties") translateModel(AixLib.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6003 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.211e-05, allocations: 8.641 kB / 0.6003 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirProperties): time 0.1326/0.1327, allocations: 144.9 MB / 0.7417 GB, free: 15.51 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.1355, allocations: 3.808 MB / 0.7454 GB, free: 11.69 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.1356, allocations: 4 kB / 0.7454 GB, free: 11.68 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.1359, allocations: 71.53 kB / 0.7455 GB, free: 11.61 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1361, allocations: 147.1 kB / 0.7457 GB, free: 11.47 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.1378, allocations: 1.124 MB / 0.7468 GB, free: 10.34 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1381, allocations: 339.5 kB / 0.7471 GB, free: 10 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.1381, allocations: 18.47 kB / 0.7471 GB, free: 9.98 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.1385, allocations: 275 kB / 0.7474 GB, free: 9.711 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1386, allocations: 107.7 kB / 0.7475 GB, free: 9.605 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1386, allocations: 12 kB / 0.7475 GB, free: 9.594 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.1398, allocations: 1.086 MB / 0.7485 GB, free: 8.504 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.1399, allocations: 63.84 kB / 0.7486 GB, free: 8.441 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.14, allocations: 63.94 kB / 0.7487 GB, free: 8.379 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.1406, allocations: 0.5608 MB / 0.7492 GB, free: 7.816 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.1406, allocations: 0 / 0.7492 GB, free: 7.816 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1406, allocations: 7.938 kB / 0.7492 GB, free: 7.809 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.1407, allocations: 4 kB / 0.7492 GB, free: 7.805 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007894/0.1414, allocations: 0.6525 MB / 0.7499 GB, free: 7.109 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1415, allocations: 12.03 kB / 0.7499 GB, free: 7.098 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006735/0.1422, allocations: 240.2 kB / 0.7501 GB, free: 6.863 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1423, allocations: 153.5 kB / 0.7502 GB, free: 6.688 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1423, allocations: 20.5 kB / 0.7503 GB, free: 6.668 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1424, allocations: 20 kB / 0.7503 GB, free: 6.648 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1427, allocations: 476.3 kB / 0.7507 GB, free: 6.105 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1427, allocations: 3.938 kB / 0.7507 GB, free: 6.102 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.1427, allocations: 12 kB / 0.7507 GB, free: 6.09 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.1427, allocations: 15.98 kB / 0.7508 GB, free: 6.074 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1429, allocations: 146.9 kB / 0.7509 GB, free: 5.93 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.1437, allocations: 0.7839 MB / 0.7517 GB, free: 5.109 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1439, allocations: 162.1 kB / 0.7518 GB, free: 4.941 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.144, allocations: 36.84 kB / 0.7519 GB, free: 4.902 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.1442, allocations: 75.94 kB / 0.7519 GB, free: 4.828 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1442, allocations: 42.56 kB / 0.752 GB, free: 4.777 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=21): time 1.654e-06/0.1442, allocations: 0 / 0.752 GB, free: 4.777 MB / 0.7293 GB Notification: Performance of matching and sorting (n=21): time 0.0002721/0.1445, allocations: 143.4 kB / 0.7521 GB, free: 4.633 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1445, allocations: 55.41 kB / 0.7522 GB, free: 4.566 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.1446, allocations: 164.2 kB / 0.7523 GB, free: 4.395 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1446, allocations: 29.7 kB / 0.7523 GB, free: 4.359 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1446, allocations: 156.1 kB / 0.7525 GB, free: 4.203 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.1447, allocations: 71.31 kB / 0.7526 GB, free: 4.133 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.1447, allocations: 53.64 kB / 0.7526 GB, free: 4.074 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.1448, allocations: 334.7 kB / 0.7529 GB, free: 3.738 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.1448, allocations: 31.09 kB / 0.753 GB, free: 3.703 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.1449, allocations: 115.7 kB / 0.7531 GB, free: 3.551 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.145, allocations: 174.8 kB / 0.7532 GB, free: 3.336 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.145, allocations: 0 / 0.7532 GB, free: 3.336 MB / 0.7293 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002129/0.1453, allocations: 192.8 kB / 0.7534 GB, free: 3.137 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1453, allocations: 12.06 kB / 0.7534 GB, free: 3.125 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1453, allocations: 4 kB / 0.7534 GB, free: 3.121 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.1453, allocations: 4 kB / 0.7534 GB, free: 3.117 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1454, allocations: 59.92 kB / 0.7535 GB, free: 3.059 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1454, allocations: 7.984 kB / 0.7535 GB, free: 3.051 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.1455, allocations: 27.78 kB / 0.7535 GB, free: 3.023 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1455, allocations: 8 kB / 0.7535 GB, free: 3.016 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.525e-05/0.1456, allocations: 136.5 kB / 0.7537 GB, free: 2.871 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.1457, allocations: 35.91 kB / 0.7537 GB, free: 2.836 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.1459, allocations: 150.8 kB / 0.7538 GB, free: 2.684 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1459, allocations: 4 kB / 0.7539 GB, free: 2.68 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1459, allocations: 0 / 0.7539 GB, free: 2.68 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1459, allocations: 3.984 kB / 0.7539 GB, free: 2.676 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1462, allocations: 393.5 kB / 0.7542 GB, free: 2.258 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1462, allocations: 0 / 0.7542 GB, free: 2.258 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.1463, allocations: 27.98 kB / 0.7543 GB, free: 2.23 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1463, allocations: 31.83 kB / 0.7543 GB, free: 2.199 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1463, allocations: 4 kB / 0.7543 GB, free: 2.195 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1463, allocations: 3.984 kB / 0.7543 GB, free: 2.191 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.1463, allocations: 16 kB / 0.7543 GB, free: 2.176 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1463, allocations: 0 / 0.7543 GB, free: 2.176 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1466, allocations: 306.2 kB / 0.7546 GB, free: 1.852 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1466, allocations: 0 / 0.7546 GB, free: 1.852 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.1467, allocations: 12 kB / 0.7546 GB, free: 1.84 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.1467, allocations: 15.97 kB / 0.7546 GB, free: 1.824 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1467, allocations: 8 kB / 0.7546 GB, free: 1.816 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.1467, allocations: 48.25 kB / 0.7547 GB, free: 1.77 MB / 0.7293 GB Notification: Performance of sort global known variables: time 6e-08/0.1467, allocations: 0 / 0.7547 GB, free: 1.77 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0002766/0.147, allocations: 123.8 kB / 0.7548 GB, free: 1.648 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003016/0.1473, allocations: 204.1 kB / 0.755 GB, free: 1.441 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1475, allocations: 120.6 kB / 0.7551 GB, free: 1.32 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.1475, allocations: 7.938 kB / 0.7551 GB, free: 1.312 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.1475, allocations: 58.17 kB / 0.7552 GB, free: 1.254 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1479, allocations: 120.4 kB / 0.7553 GB, free: 1.137 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1508, allocations: 447.7 kB / 0.7557 GB, free: 0.6641 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.1508, allocations: 80.83 kB / 0.7558 GB, free: 0.5625 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.151, allocations: 41.61 kB / 0.7558 GB, free: 0.5195 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.1512, allocations: 139.2 kB / 0.756 GB, free: 392 kB / 0.7293 GB Notification: Performance of SimCode: time 7.41e-07/0.1512, allocations: 0 / 0.756 GB, free: 392 kB / 0.7293 GB Notification: Performance of Templates: time 0.007449/0.1586, allocations: 6.064 MB / 0.7619 GB, free: 10.44 MB / 0.7449 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Examples.AirProperties.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.AirProperties.pipe ; mkfifo AixLib_AixLib.Media.Examples.AirProperties.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.AirProperties.pipe >> ../files/AixLib_AixLib.Media.Examples.AirProperties.sim & ./AixLib_AixLib.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8020852617919445]