Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002305/0.002305, allocations: 192.2 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 207.6 MB / 232.8 MB, free: 2.785 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4611/0.4611, allocations: 55.67 MB / 340.7 MB, free: 11.5 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") translateModel(Annex60.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 72.64 kB / 482 MB, free: 36.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1561, allocations: 62.89 MB / 0.5321 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirDerivativeCheck): time 0.003422/0.1595, allocations: 1.324 MB / 0.5334 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.5487/0.7082, allocations: 146.9 MB / 0.6769 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.7083, allocations: 1.203 kB / 0.6769 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.632e-05/0.7083, allocations: 0 / 0.6769 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.7084, allocations: 20.38 kB / 0.6769 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.7095, allocations: 335.7 kB / 0.6773 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.7097, allocations: 64.06 kB / 0.6773 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.7097, allocations: 6.594 kB / 0.6773 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.7098, allocations: 32.98 kB / 0.6774 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.7099, allocations: 35.64 kB / 0.6774 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.7099, allocations: 7.969 kB / 0.6774 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007978/0.7107, allocations: 370.5 kB / 0.6778 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.7107, allocations: 21.34 kB / 0.6778 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.7108, allocations: 27.86 kB / 0.6778 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.7111, allocations: 155.1 kB / 0.6779 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.7111, allocations: 1.094 kB / 0.6779 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7111, allocations: 0 / 0.6779 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.7111, allocations: 0 / 0.6779 GB, free: 14.07 MB / 0.4981 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.0004708/0.7116, allocations: 313.7 kB / 0.6782 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7116, allocations: 9.625 kB / 0.6783 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.712, allocations: 37.3 kB / 0.6783 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.7121, allocations: 113.6 kB / 0.6784 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.7122, allocations: 15.03 kB / 0.6784 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.7122, allocations: 15.11 kB / 0.6784 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.7124, allocations: 75.88 kB / 0.6785 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.7124, allocations: 0 / 0.6785 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.7124, allocations: 5.781 kB / 0.6785 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7124, allocations: 4 kB / 0.6785 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.597e-05/0.7125, allocations: 42.92 kB / 0.6785 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.7127, allocations: 157.6 kB / 0.6787 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.7129, allocations: 88.88 kB / 0.6788 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.713, allocations: 30.31 kB / 0.6788 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.7132, allocations: 23.78 kB / 0.6788 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.7132, allocations: 36.22 kB / 0.6789 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.7132, allocations: 0 / 0.6789 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001325/0.7145, allocations: 484.9 kB / 0.6793 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.7146, allocations: 61.86 kB / 0.6794 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.7147, allocations: 95.33 kB / 0.6795 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.7147, allocations: 31.42 kB / 0.6795 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.7147, allocations: 80.52 kB / 0.6796 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.7148, allocations: 74.25 kB / 0.6797 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.7149, allocations: 37.89 kB / 0.6797 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.715, allocations: 329.4 kB / 0.68 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.7151, allocations: 35.12 kB / 0.68 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.7151, allocations: 73.05 kB / 0.6801 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.7153, allocations: 117.8 kB / 0.6802 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.7153, allocations: 3.875 kB / 0.6802 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002154/0.7155, allocations: 163.8 kB / 0.6804 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7155, allocations: 5.375 kB / 0.6804 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.7155, allocations: 2.625 kB / 0.6804 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7155, allocations: 2.469 kB / 0.6804 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.7157, allocations: 36.33 kB / 0.6804 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.7157, allocations: 8.219 kB / 0.6804 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.7158, allocations: 9.875 kB / 0.6804 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.7158, allocations: 4.594 kB / 0.6805 GB, free: 12.4 MB / 0.4981 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 0.000102/0.7159, allocations: 119.8 kB / 0.6806 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.7159, allocations: 12.73 kB / 0.6806 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.716, allocations: 21.72 kB / 0.6806 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.716, allocations: 2.906 kB / 0.6806 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.716, allocations: 0 / 0.6806 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.716, allocations: 3.938 kB / 0.6806 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.7161, allocations: 159.7 kB / 0.6808 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7161, allocations: 5.422 kB / 0.6808 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.7163, allocations: 39.62 kB / 0.6808 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7163, allocations: 2.188 kB / 0.6808 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.7163, allocations: 0 / 0.6808 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7164, allocations: 6.25 kB / 0.6808 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7164, allocations: 0 / 0.6808 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.7167, allocations: 228.5 kB / 0.681 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.7167, allocations: 13.08 kB / 0.681 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.7167, allocations: 1.812 kB / 0.681 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.7169, allocations: 8.469 kB / 0.681 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.7169, allocations: 20.94 kB / 0.6811 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.7169, allocations: 10.72 kB / 0.6811 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.7169, allocations: 81.94 kB / 0.6812 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7169, allocations: 0 / 0.6812 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002221/0.7172, allocations: 27.06 kB / 0.6812 GB, free: 11.93 MB / 0.4981 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.0001363/0.7173, allocations: 107.2 kB / 0.6813 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.7175, allocations: 103.9 kB / 0.6814 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7175, allocations: 5.297 kB / 0.6814 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/0.7176, allocations: 48.62 kB / 0.6814 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.7178, allocations: 17.88 kB / 0.6815 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.7187, allocations: 0.5016 MB / 0.6819 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.719, allocations: 0.7019 MB / 0.6826 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.7191, allocations: 22.02 kB / 0.6827 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.7192, allocations: 14.34 kB / 0.6827 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.7192, allocations: 2.844 kB / 0.6827 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.003976/0.7231, allocations: 1.21 MB / 0.6838 GB, free: 10.64 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.029806923121214] Failed to read output from testmodel.py, exit status != 0: 0.7313510617241263 0.747396116 0.033167086000000005 Calling exit ...