Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.AirDerivativeCheck.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.04374/0.04374, allocations: 9.129 MB / 28.99 MB, free: 332 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.0009898/0.0009898, allocations: 98.36 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.00119/0.00119, allocations: 163.4 kB / 38.73 MB, free: 2.375 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.015/1.015, allocations: 177.2 MB / 219.2 MB, free: 10.14 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.004241/0.004241, allocations: 0.8221 MB / 276.5 MB, free: 0.7617 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.699/1.699, allocations: 274.9 MB / 0.5419 GB, free: 0.5938 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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirDerivativeCheck") translateModel(AixLib.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.607e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirDerivativeCheck): time 0.001812/0.001838, allocations: 1.375 MB / 0.6392 GB, free: 12.76 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.5185/0.5203, allocations: 143.4 MB / 0.7792 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.5204, allocations: 0 / 0.7792 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 5.616e-05/0.5204, allocations: 3.984 kB / 0.7792 GB, free: 10.51 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.5205, allocations: 15.86 kB / 0.7792 GB, free: 10.5 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.5216, allocations: 341.4 kB / 0.7795 GB, free: 10.16 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.5218, allocations: 59.77 kB / 0.7796 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.5218, allocations: 7.984 kB / 0.7796 GB, free: 10.1 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.5219, allocations: 39.89 kB / 0.7796 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.522, allocations: 27.95 kB / 0.7796 GB, free: 10.03 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.522, allocations: 4 kB / 0.7796 GB, free: 10.03 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007223/0.5227, allocations: 382.5 kB / 0.78 GB, free: 9.652 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.5228, allocations: 15.97 kB / 0.78 GB, free: 9.637 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.5228, allocations: 23.92 kB / 0.78 GB, free: 9.613 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.5231, allocations: 163.6 kB / 0.7802 GB, free: 9.453 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5231, allocations: 3.938 kB / 0.7802 GB, free: 9.449 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5231, allocations: 0 / 0.7802 GB, free: 9.449 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.5231, allocations: 0 / 0.7802 GB, free: 9.449 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000372/0.5235, allocations: 287.4 kB / 0.7805 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5235, allocations: 15.98 kB / 0.7805 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.5239, allocations: 79.81 kB / 0.7806 GB, free: 9.059 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.624e-05/0.524, allocations: 101.8 kB / 0.7807 GB, free: 8.934 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.524, allocations: 8.375 kB / 0.7807 GB, free: 8.926 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.524, allocations: 15.94 kB / 0.7807 GB, free: 8.91 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.5242, allocations: 193.6 kB / 0.7809 GB, free: 8.684 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.5242, allocations: 0 / 0.7809 GB, free: 8.684 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.5242, allocations: 9.359 kB / 0.7809 GB, free: 8.676 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5242, allocations: 0 / 0.7809 GB, free: 8.676 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.5243, allocations: 31.84 kB / 0.7809 GB, free: 8.645 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.5244, allocations: 90.58 kB / 0.781 GB, free: 8.539 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.5245, allocations: 67.17 kB / 0.7811 GB, free: 8.465 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.5246, allocations: 24.84 kB / 0.7811 GB, free: 8.438 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.5247, allocations: 19.98 kB / 0.7811 GB, free: 8.418 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.5247, allocations: 38.56 kB / 0.7811 GB, free: 8.371 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5247, allocations: 0 / 0.7811 GB, free: 8.371 MB / 0.6824 GB Notification: Performance of matching and sorting (n=19): time 0.001126/0.5258, allocations: 494.5 kB / 0.7816 GB, free: 7.855 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5259, allocations: 55.41 kB / 0.7817 GB, free: 7.789 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/0.5259, allocations: 102.7 kB / 0.7818 GB, free: 7.676 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.5259, allocations: 29.7 kB / 0.7818 GB, free: 7.641 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.526, allocations: 84.5 kB / 0.7819 GB, free: 7.555 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.526, allocations: 79.3 kB / 0.7819 GB, free: 7.477 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.5261, allocations: 41.64 kB / 0.782 GB, free: 7.43 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0003574/0.5264, allocations: 322.8 kB / 0.7823 GB, free: 7.105 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.5265, allocations: 15.98 kB / 0.7823 GB, free: 7.09 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.5265, allocations: 47.41 kB / 0.7823 GB, free: 7.031 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.858e-05/0.5266, allocations: 91.89 kB / 0.7824 GB, free: 6.93 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5266, allocations: 0 / 0.7824 GB, free: 6.93 MB / 0.6824 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001392/0.5268, allocations: 103.8 kB / 0.7825 GB, free: 6.824 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5268, allocations: 4 kB / 0.7825 GB, free: 6.82 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5268, allocations: 0 / 0.7825 GB, free: 6.82 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5268, allocations: 4.844 kB / 0.7825 GB, free: 6.816 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5269, allocations: 44.42 kB / 0.7826 GB, free: 6.773 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.5269, allocations: 0 / 0.7826 GB, free: 6.773 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.527, allocations: 4 kB / 0.7826 GB, free: 6.77 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.527, allocations: 8.875 kB / 0.7826 GB, free: 6.762 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 7.647e-05/0.5271, allocations: 128.5 kB / 0.7827 GB, free: 6.625 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.5271, allocations: 12 kB / 0.7827 GB, free: 6.613 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.5271, allocations: 24.41 kB / 0.7828 GB, free: 6.59 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.5271, allocations: 0 / 0.7828 GB, free: 6.59 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5271, allocations: 7.984 kB / 0.7828 GB, free: 6.582 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5271, allocations: 0 / 0.7828 GB, free: 6.582 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.644e-05/0.5272, allocations: 83.52 kB / 0.7828 GB, free: 6.484 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5272, allocations: 0.8906 kB / 0.7828 GB, free: 6.484 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.5274, allocations: 44.41 kB / 0.7829 GB, free: 6.441 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5274, allocations: 0 / 0.7829 GB, free: 6.441 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.5274, allocations: 7.938 kB / 0.7829 GB, free: 6.434 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.5274, allocations: 5.578 kB / 0.7829 GB, free: 6.43 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5274, allocations: 0 / 0.7829 GB, free: 6.43 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.5276, allocations: 148.6 kB / 0.783 GB, free: 6.266 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.5276, allocations: 15.88 kB / 0.7831 GB, free: 6.25 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.5276, allocations: 8 kB / 0.7831 GB, free: 6.242 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.5277, allocations: 11.98 kB / 0.7831 GB, free: 6.23 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.5277, allocations: 7.984 kB / 0.7831 GB, free: 6.223 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5277, allocations: 4.812 kB / 0.7831 GB, free: 6.219 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.118e-05/0.5277, allocations: 8.859 kB / 0.7831 GB, free: 6.207 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.5277, allocations: 0 / 0.7831 GB, free: 6.207 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001866/0.5279, allocations: 28 kB / 0.7831 GB, free: 6.18 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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): 19 * 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.0001302/0.528, allocations: 93.78 kB / 0.7832 GB, free: 6.082 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.5282, allocations: 77.33 kB / 0.7833 GB, free: 6.004 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5282, allocations: 0 / 0.7833 GB, free: 6.004 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.5282, allocations: 47 kB / 0.7833 GB, free: 5.957 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.5284, allocations: 36.02 kB / 0.7834 GB, free: 5.926 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.5291, allocations: 332.1 kB / 0.7837 GB, free: 5.586 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.612e-05/0.5291, allocations: 68.08 kB / 0.7837 GB, free: 5.5 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 8.172e-05/0.5292, allocations: 18.05 kB / 0.7838 GB, free: 5.484 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.5293, allocations: 91.34 kB / 0.7839 GB, free: 5.398 MB / 0.6824 GB Notification: Performance of SimCode: time 1.082e-06/0.5293, allocations: 0 / 0.7839 GB, free: 5.398 MB / 0.6824 GB Notification: Performance of Templates: time 0.003867/0.5332, allocations: 1.615 MB / 0.7854 GB, free: 3.879 MB / 0.6824 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.AirDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.AirDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.AirDerivativeCheck.sim & ./AixLib_AixLib.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.063646045979112]