Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0017/0.0017, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002123/0.002123, allocations: 192.7 kB / 22.11 MB, free: 5.152 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.575/1.575, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.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.3056/0.3056, allocations: 55.67 MB / 340.7 MB, free: 13.99 MB / 286.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [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.002539/0.002539, allocations: 77.44 kB / 482 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4587, allocations: 62.86 MB / 0.5321 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002524/0.4612, allocations: 1.288 MB / 0.5334 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2175/0.6787, allocations: 145.8 MB / 0.6758 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.6788, allocations: 0 / 0.6758 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.6788, allocations: 3.938 kB / 0.6758 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.6789, allocations: 7.922 kB / 0.6758 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.6794, allocations: 99.56 kB / 0.6759 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.6795, allocations: 39.84 kB / 0.6759 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.6796, allocations: 4 kB / 0.676 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.421e-05/0.6796, allocations: 11.98 kB / 0.676 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.6797, allocations: 19.91 kB / 0.676 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.6797, allocations: 0 / 0.676 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.68, allocations: 75.84 kB / 0.6761 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.6801, allocations: 11.98 kB / 0.6761 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.6801, allocations: 15.92 kB / 0.6761 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.6803, allocations: 63.34 kB / 0.6761 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6803, allocations: 0 / 0.6761 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6803, allocations: 4 kB / 0.6761 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.6803, allocations: 0 / 0.6761 GB, free: 3.078 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000535/0.6808, allocations: 277 kB / 0.6764 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6809, allocations: 12.03 kB / 0.6764 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.6811, allocations: 8.938 kB / 0.6764 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.6812, allocations: 110.5 kB / 0.6765 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.6812, allocations: 11.88 kB / 0.6765 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.6813, allocations: 7.953 kB / 0.6766 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.6814, allocations: 49.69 kB / 0.6766 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6814, allocations: 3.938 kB / 0.6766 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.6815, allocations: 4 kB / 0.6766 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6815, allocations: 3.984 kB / 0.6766 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.6815, allocations: 23.91 kB / 0.6766 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.6817, allocations: 132.7 kB / 0.6768 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.6818, allocations: 50.56 kB / 0.6768 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.6819, allocations: 12.86 kB / 0.6768 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.6819, allocations: 0 / 0.6768 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.6819, allocations: 38.55 kB / 0.6769 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.6819, allocations: 0 / 0.6769 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0008434/0.6828, allocations: 301.2 kB / 0.6771 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.6828, allocations: 51.41 kB / 0.6772 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.6829, allocations: 97.86 kB / 0.6773 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.6829, allocations: 25.7 kB / 0.6773 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.683, allocations: 80.14 kB / 0.6774 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.683, allocations: 47.58 kB / 0.6774 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.6831, allocations: 33.64 kB / 0.6775 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6832, allocations: 322.9 kB / 0.6778 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.6833, allocations: 19.98 kB / 0.6778 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.6833, allocations: 33.7 kB / 0.6778 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.6835, allocations: 66.19 kB / 0.6779 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6835, allocations: 0 / 0.6779 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001515/0.6836, allocations: 93.66 kB / 0.678 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6836, allocations: 4 kB / 0.678 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6836, allocations: 0 / 0.678 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6837, allocations: 8 kB / 0.678 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.6838, allocations: 19.94 kB / 0.678 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6838, allocations: 0 / 0.678 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.6838, allocations: 11.98 kB / 0.678 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.6839, allocations: 0 / 0.678 GB, free: 0.9375 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001201/0.684, allocations: 117.8 kB / 0.6781 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.684, allocations: 7.953 kB / 0.6781 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.684, allocations: 7.906 kB / 0.6781 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.684, allocations: 0 / 0.6781 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.684, allocations: 12 kB / 0.6782 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.684, allocations: 0 / 0.6782 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.6842, allocations: 148.7 kB / 0.6783 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.6842, allocations: 0 / 0.6783 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.6843, allocations: 27.92 kB / 0.6783 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6843, allocations: 0 / 0.6783 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.6843, allocations: 0 / 0.6783 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.6843, allocations: 0 / 0.6783 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6843, allocations: 7.938 kB / 0.6783 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.6846, allocations: 136.9 kB / 0.6785 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.6846, allocations: 12.11 kB / 0.6785 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.6847, allocations: 8 kB / 0.6785 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.6847, allocations: 0 / 0.6785 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.6848, allocations: 7.984 kB / 0.6785 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.6848, allocations: 0 / 0.6785 GB, free: 396 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.6848, allocations: 87.22 kB / 0.6786 GB, free: 308 kB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.6848, allocations: 0 / 0.6786 GB, free: 308 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001965/0.685, allocations: 20.03 kB / 0.6786 GB, free: 288 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001144/0.6851, allocations: 103.2 kB / 0.6787 GB, free: 172 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.6853, allocations: 51.86 kB / 0.6787 GB, free: 120 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6853, allocations: 0 / 0.6787 GB, free: 120 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.6853, allocations: 27.98 kB / 0.6788 GB, free: 92 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.6856, allocations: 4 kB / 0.6788 GB, free: 88 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.6863, allocations: 333.3 kB / 0.6791 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.6867, allocations: 0.6885 MB / 0.6798 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.398e-05/0.6867, allocations: 12.66 kB / 0.6798 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.6867, allocations: 11.44 kB / 0.6798 GB, free: 15 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.6867, allocations: 0 / 0.6798 GB, free: 15 MB / 0.5294 GB Notification: Performance of Templates: time 0.003626/0.6904, allocations: 0.6958 MB / 0.6805 GB, free: 14.31 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.626473365351558] Failed to read output from testmodel.py, exit status != 0: 0.7001944212242961 0.7162455209999999 0.032478705000000004 Calling exit ...