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.04906/0.04906, allocations: 9.127 MB / 28.99 MB, free: 0.8125 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.001257/0.001257, allocations: 98.95 kB / 35.33 MB, free: 1.07 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.002069/0.002069, allocations: 168.2 kB / 38.73 MB, free: 2.508 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.073/1.073, 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.00676/0.00676, allocations: 0.8294 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.772/1.772, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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 1.934e-06/1.934e-06, allocations: 0 / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.78e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirDerivativeCheck): time 0.001909/0.001927, allocations: 1.415 MB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.5188/0.5207, allocations: 143.4 MB / 0.7792 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.5208, allocations: 0 / 0.7792 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.5208, allocations: 3.938 kB / 0.7792 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.521, allocations: 19.91 kB / 0.7793 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.5219, allocations: 325.4 kB / 0.7796 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.522, allocations: 67.75 kB / 0.7796 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.5221, allocations: 4 kB / 0.7796 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.5221, allocations: 47.89 kB / 0.7797 GB, free: 9.973 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.5222, allocations: 27.89 kB / 0.7797 GB, free: 9.945 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.5222, allocations: 4 kB / 0.7797 GB, free: 9.941 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.5229, allocations: 382.5 kB / 0.7801 GB, free: 9.566 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.523, allocations: 15.97 kB / 0.7801 GB, free: 9.551 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.523, allocations: 23.91 kB / 0.7801 GB, free: 9.527 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.5233, allocations: 167.6 kB / 0.7803 GB, free: 9.363 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5233, allocations: 3.938 kB / 0.7803 GB, free: 9.359 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5233, allocations: 0 / 0.7803 GB, free: 9.359 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5233, allocations: 3.938 kB / 0.7803 GB, free: 9.355 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.0003437/0.5236, allocations: 287.4 kB / 0.7806 GB, free: 9.055 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5236, allocations: 11.98 kB / 0.7806 GB, free: 9.043 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.524, allocations: 71.89 kB / 0.7806 GB, free: 8.977 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.5241, allocations: 109.8 kB / 0.7807 GB, free: 8.844 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5241, allocations: 8.375 kB / 0.7807 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.5241, allocations: 11.94 kB / 0.7808 GB, free: 8.824 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.5243, allocations: 197 kB / 0.7809 GB, free: 8.594 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5243, allocations: 1.641 kB / 0.7809 GB, free: 8.594 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5243, allocations: 7.938 kB / 0.781 GB, free: 8.586 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.5243, allocations: 4 kB / 0.781 GB, free: 8.582 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.5243, allocations: 33 kB / 0.781 GB, free: 8.551 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.5245, allocations: 86.58 kB / 0.7811 GB, free: 8.449 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5246, allocations: 65.38 kB / 0.7811 GB, free: 8.375 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.5246, allocations: 16.86 kB / 0.7812 GB, free: 8.355 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.5247, allocations: 27.97 kB / 0.7812 GB, free: 8.328 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.5247, allocations: 30.56 kB / 0.7812 GB, free: 8.289 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.5247, allocations: 4 kB / 0.7812 GB, free: 8.285 MB / 0.6824 GB Notification: Performance of matching and sorting (n=19): time 0.0009499/0.5257, allocations: 499.1 kB / 0.7817 GB, free: 7.766 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5257, allocations: 59.34 kB / 0.7817 GB, free: 7.695 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.5258, allocations: 102.7 kB / 0.7818 GB, free: 7.582 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.5258, allocations: 33.7 kB / 0.7819 GB, free: 7.543 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.5258, allocations: 80.52 kB / 0.782 GB, free: 7.461 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.5259, allocations: 75.31 kB / 0.782 GB, free: 7.387 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.5259, allocations: 41.69 kB / 0.7821 GB, free: 7.34 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.526, allocations: 318.8 kB / 0.7824 GB, free: 7.02 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.526, allocations: 12 kB / 0.7824 GB, free: 7.008 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.5261, allocations: 47.53 kB / 0.7824 GB, free: 6.949 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.5261, allocations: 99.38 kB / 0.7825 GB, free: 6.84 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5261, allocations: 0 / 0.7825 GB, free: 6.84 MB / 0.6824 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001083/0.5262, allocations: 94.09 kB / 0.7826 GB, free: 6.742 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5263, allocations: 11.98 kB / 0.7826 GB, free: 6.73 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5263, allocations: 0.75 kB / 0.7826 GB, free: 6.73 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5263, allocations: 4 kB / 0.7826 GB, free: 6.727 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5264, allocations: 39.92 kB / 0.7827 GB, free: 6.688 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5264, allocations: 4 kB / 0.7827 GB, free: 6.684 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.5264, allocations: 4 kB / 0.7827 GB, free: 6.68 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5264, allocations: 4.938 kB / 0.7827 GB, free: 6.676 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.458e-05/0.5265, allocations: 132.5 kB / 0.7828 GB, free: 6.535 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.5265, allocations: 16.67 kB / 0.7828 GB, free: 6.52 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.5266, allocations: 16.47 kB / 0.7828 GB, free: 6.504 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5266, allocations: 4 kB / 0.7828 GB, free: 6.5 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5266, allocations: 3.938 kB / 0.7828 GB, free: 6.496 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5266, allocations: 0 / 0.7828 GB, free: 6.496 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/0.5267, allocations: 85.86 kB / 0.7829 GB, free: 6.395 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5267, allocations: 1.188 kB / 0.7829 GB, free: 6.395 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.5268, allocations: 51.86 kB / 0.783 GB, free: 6.344 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5268, allocations: 0 / 0.783 GB, free: 6.344 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.5268, allocations: 4 kB / 0.783 GB, free: 6.34 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5268, allocations: 0 / 0.783 GB, free: 6.34 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5268, allocations: 1.266 kB / 0.783 GB, free: 6.34 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.5269, allocations: 154.9 kB / 0.7831 GB, free: 6.172 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.527, allocations: 15.88 kB / 0.7831 GB, free: 6.156 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.527, allocations: 8.812 kB / 0.7831 GB, free: 6.148 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.527, allocations: 0 / 0.7831 GB, free: 6.148 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.527, allocations: 15.97 kB / 0.7832 GB, free: 6.133 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.5271, allocations: 4 kB / 0.7832 GB, free: 6.129 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.008e-05/0.5271, allocations: 12.8 kB / 0.7832 GB, free: 6.113 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4e-08/0.5271, allocations: 4.094 kB / 0.7832 GB, free: 6.109 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001283/0.5272, allocations: 32 kB / 0.7832 GB, free: 6.078 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.00011/0.5273, allocations: 80.42 kB / 0.7833 GB, free: 5.992 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.5274, allocations: 78.52 kB / 0.7834 GB, free: 5.914 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5274, allocations: 0 / 0.7834 GB, free: 5.914 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.5275, allocations: 44.78 kB / 0.7834 GB, free: 5.867 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.5276, allocations: 34.81 kB / 0.7834 GB, free: 5.836 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.5282, allocations: 333.8 kB / 0.7838 GB, free: 5.496 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.5283, allocations: 68.08 kB / 0.7838 GB, free: 5.41 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 7.143e-05/0.5284, allocations: 22.56 kB / 0.7838 GB, free: 5.391 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.5285, allocations: 83.36 kB / 0.7839 GB, free: 5.312 MB / 0.6824 GB Notification: Performance of SimCode: time 1.052e-06/0.5285, allocations: 0 / 0.7839 GB, free: 5.312 MB / 0.6824 GB Notification: Performance of Templates: time 0.003404/0.5319, allocations: 1.612 MB / 0.7855 GB, free: 3.801 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2424753019586205]