Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json 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.0008805/0.0008805, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002107, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000896/0.000896, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003893/0.004789, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9987/0.9987, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09236/1.091, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7547/0.7547, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2732/1.028, allocations: 49.13 MB / 448.6 MB, free: 5.938 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 449.9 MB, free: 4.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.62e-05, allocations: 5.703 kB / 449.9 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001659/0.001676, allocations: 1.37 MB / 451.3 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1209/0.1225, allocations: 142.6 MB / 0.58 GB, free: 4.605 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.1226, allocations: 0 / 0.58 GB, free: 4.605 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.1226, allocations: 0 / 0.58 GB, free: 4.605 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 3.277e-05/0.1226, allocations: 7.922 kB / 0.58 GB, free: 4.598 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1228, allocations: 103.4 kB / 0.5801 GB, free: 4.496 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 6.555e-05/0.1229, allocations: 27.88 kB / 0.5801 GB, free: 4.469 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1229, allocations: 3.984 kB / 0.5801 GB, free: 4.465 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.123, allocations: 23.97 kB / 0.5802 GB, free: 4.441 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.1231, allocations: 11.98 kB / 0.5802 GB, free: 4.43 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1231, allocations: 0 / 0.5802 GB, free: 4.43 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1233, allocations: 87.64 kB / 0.5803 GB, free: 4.344 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.1233, allocations: 4 kB / 0.5803 GB, free: 4.34 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.1233, allocations: 12 kB / 0.5803 GB, free: 4.328 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1234, allocations: 67.77 kB / 0.5803 GB, free: 4.262 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.1234, allocations: 0 / 0.5803 GB, free: 4.262 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1234, allocations: 0 / 0.5803 GB, free: 4.262 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.1234, allocations: 3.984 kB / 0.5803 GB, free: 4.258 MB / 0.5574 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.000308/0.1237, allocations: 262.6 kB / 0.5806 GB, free: 3.98 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1238, allocations: 12.03 kB / 0.5806 GB, free: 3.969 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.1239, allocations: 105.9 kB / 0.5807 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.124, allocations: 105.8 kB / 0.5808 GB, free: 3.719 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.124, allocations: 384 / 0.5808 GB, free: 3.719 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.124, allocations: 20.27 kB / 0.5808 GB, free: 3.699 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1241, allocations: 126.7 kB / 0.5809 GB, free: 3.551 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1242, allocations: 0 / 0.5809 GB, free: 3.551 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1242, allocations: 4 kB / 0.5809 GB, free: 3.547 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1242, allocations: 3.938 kB / 0.5809 GB, free: 3.543 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.1242, allocations: 15.97 kB / 0.581 GB, free: 3.527 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.243e-05/0.1243, allocations: 61.05 kB / 0.581 GB, free: 3.453 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.1243, allocations: 42.56 kB / 0.5811 GB, free: 3.402 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.1243, allocations: 12.8 kB / 0.5811 GB, free: 3.387 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.1244, allocations: 0 / 0.5811 GB, free: 3.387 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1244, allocations: 38.56 kB / 0.5811 GB, free: 3.34 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1244, allocations: 0 / 0.5811 GB, free: 3.34 MB / 0.5574 GB Notification: Performance of matching and sorting (n=11): time 0.0005312/0.1249, allocations: 321.2 kB / 0.5814 GB, free: 2.992 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.1249, allocations: 55.41 kB / 0.5815 GB, free: 2.926 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.373e-05/0.125, allocations: 98.7 kB / 0.5816 GB, free: 2.816 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.125, allocations: 33.64 kB / 0.5816 GB, free: 2.777 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.125, allocations: 80.14 kB / 0.5817 GB, free: 2.695 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.125, allocations: 39.64 kB / 0.5817 GB, free: 2.656 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1251, allocations: 33.69 kB / 0.5817 GB, free: 2.617 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.1251, allocations: 318.8 kB / 0.582 GB, free: 2.297 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.1251, allocations: 8 kB / 0.5821 GB, free: 2.289 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.1252, allocations: 29.33 kB / 0.5821 GB, free: 2.258 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.1252, allocations: 45.67 kB / 0.5821 GB, free: 2.207 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1252, allocations: 3.938 kB / 0.5821 GB, free: 2.203 MB / 0.5574 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.148e-05/0.1253, allocations: 78.16 kB / 0.5822 GB, free: 2.121 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1253, allocations: 8 kB / 0.5822 GB, free: 2.113 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1253, allocations: 0 / 0.5822 GB, free: 2.113 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1253, allocations: 0 / 0.5822 GB, free: 2.113 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.1254, allocations: 23.94 kB / 0.5822 GB, free: 2.09 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1254, allocations: 7.984 kB / 0.5822 GB, free: 2.082 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.1254, allocations: 0 / 0.5822 GB, free: 2.082 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1254, allocations: 4 kB / 0.5822 GB, free: 2.078 MB / 0.5574 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 4.653e-05/0.1254, allocations: 113.8 kB / 0.5824 GB, free: 1.957 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1254, allocations: 15.92 kB / 0.5824 GB, free: 1.941 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.1255, allocations: 11.97 kB / 0.5824 GB, free: 1.922 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1255, allocations: 0 / 0.5824 GB, free: 1.922 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.1255, allocations: 0 / 0.5824 GB, free: 1.922 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1255, allocations: 3.984 kB / 0.5824 GB, free: 1.918 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.733e-05/0.1255, allocations: 77.89 kB / 0.5825 GB, free: 1.824 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1255, allocations: 0 / 0.5825 GB, free: 1.824 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.1256, allocations: 31.92 kB / 0.5825 GB, free: 1.793 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.1256, allocations: 7.953 kB / 0.5825 GB, free: 1.785 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1256, allocations: 7.938 kB / 0.5825 GB, free: 1.777 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.1256, allocations: 0 / 0.5825 GB, free: 1.777 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1256, allocations: 4 kB / 0.5825 GB, free: 1.773 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1256, allocations: 80 / 0.5825 GB, free: 1.773 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.733e-05/0.1257, allocations: 105 kB / 0.5826 GB, free: 1.652 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.1257, allocations: 7.984 kB / 0.5826 GB, free: 1.645 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.1258, allocations: 7.938 kB / 0.5826 GB, free: 1.637 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.1258, allocations: 3.984 kB / 0.5826 GB, free: 1.633 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1258, allocations: 8 kB / 0.5826 GB, free: 1.625 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 7.063e-06/0.1258, allocations: 4.859 kB / 0.5826 GB, free: 1.617 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5e-08/0.1258, allocations: 4.094 kB / 0.5826 GB, free: 1.613 MB / 0.5574 GB Notification: Performance of remove unused functions: time 9.911e-05/0.1259, allocations: 16 kB / 0.5827 GB, free: 1.598 MB / 0.5574 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 8.07e-05/0.126, allocations: 84.36 kB / 0.5827 GB, free: 1.504 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 6.815e-05/0.126, allocations: 44.77 kB / 0.5828 GB, free: 1.457 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.1261, allocations: 4 kB / 0.5828 GB, free: 1.453 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.1261, allocations: 30.27 kB / 0.5828 GB, free: 1.422 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1262, allocations: 27.97 kB / 0.5828 GB, free: 1.395 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.1269, allocations: 201.6 kB / 0.583 GB, free: 1.172 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.644e-05/0.1269, allocations: 59.36 kB / 0.5831 GB, free: 1.094 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.127, allocations: 12.72 kB / 0.5831 GB, free: 1.082 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.1271, allocations: 75.34 kB / 0.5832 GB, free: 1.008 MB / 0.5574 GB Notification: Performance of SimCode: time 2.81e-07/0.1271, allocations: 0 / 0.5832 GB, free: 1.008 MB / 0.5574 GB Notification: Performance of Templates: time 0.002212/0.1293, allocations: 0.9941 MB / 0.5841 GB, free: 48 kB / 0.5574 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.586446282453835]