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.0008571/0.0008571, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.00201, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008954/0.0008954, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003857/0.004752, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.991/0.991, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09682/1.088, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7578/0.7578, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3016/1.059, allocations: 49.14 MB / 448.4 MB, free: 6.008 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.583e-06/1.583e-06, allocations: 0 / 449.6 MB, free: 4.758 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.437e-05, allocations: 2.312 kB / 449.6 MB, free: 4.754 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001609/0.001623, allocations: 1.359 MB / 451 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1327/0.1343, allocations: 142.6 MB / 0.5797 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.1343, allocations: 4 kB / 0.5797 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.1343, allocations: 3.984 kB / 0.5797 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.099e-05/0.1344, allocations: 3.938 kB / 0.5797 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1346, allocations: 99.42 kB / 0.5798 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.1347, allocations: 31.91 kB / 0.5798 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1347, allocations: 7.938 kB / 0.5799 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.1348, allocations: 19.98 kB / 0.5799 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.1348, allocations: 15.97 kB / 0.5799 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1349, allocations: 0 / 0.5799 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.1351, allocations: 91.62 kB / 0.58 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1351, allocations: 4 kB / 0.58 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.1351, allocations: 12 kB / 0.58 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1352, allocations: 63.77 kB / 0.58 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.1352, allocations: 0 / 0.58 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1352, allocations: 0 / 0.58 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.1352, allocations: 0 / 0.58 GB, free: 4.371 MB / 0.5573 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.0003334/0.1356, allocations: 274.3 kB / 0.5803 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.1356, allocations: 8.031 kB / 0.5803 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.1358, allocations: 105.9 kB / 0.5804 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.001e-05/0.1358, allocations: 101.8 kB / 0.5805 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1358, allocations: 8.375 kB / 0.5805 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1359, allocations: 20.25 kB / 0.5805 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.136, allocations: 118.7 kB / 0.5807 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.136, allocations: 0 / 0.5807 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.136, allocations: 7.984 kB / 0.5807 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.136, allocations: 4 kB / 0.5807 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.136, allocations: 4 kB / 0.5807 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.294e-05/0.1361, allocations: 69.03 kB / 0.5807 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/0.1362, allocations: 38.64 kB / 0.5808 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.1362, allocations: 16.78 kB / 0.5808 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.1362, allocations: 8 kB / 0.5808 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1362, allocations: 34.56 kB / 0.5808 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.1362, allocations: 3.938 kB / 0.5808 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0005403/0.1367, allocations: 320.3 kB / 0.5811 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1368, allocations: 51.41 kB / 0.5812 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.1368, allocations: 98.7 kB / 0.5813 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1368, allocations: 29.7 kB / 0.5813 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.1368, allocations: 80.14 kB / 0.5814 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1369, allocations: 43.58 kB / 0.5814 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.1369, allocations: 33.69 kB / 0.5815 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.137, allocations: 314.8 kB / 0.5818 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.137, allocations: 16.11 kB / 0.5818 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.137, allocations: 25.7 kB / 0.5818 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.137, allocations: 41.67 kB / 0.5818 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.137, allocations: 0 / 0.5818 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.069e-05/0.1371, allocations: 70.17 kB / 0.5819 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1371, allocations: 8 kB / 0.5819 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1371, allocations: 0 / 0.5819 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.1371, allocations: 0 / 0.5819 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.1372, allocations: 31.98 kB / 0.5819 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1372, allocations: 3.938 kB / 0.582 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.1372, allocations: 7.938 kB / 0.582 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1372, allocations: 8 kB / 0.582 GB, free: 2.188 MB / 0.5573 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 5.166e-05/0.1373, allocations: 113.8 kB / 0.5821 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.1373, allocations: 19.92 kB / 0.5821 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.1373, allocations: 7.969 kB / 0.5821 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1373, allocations: 0 / 0.5821 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1373, allocations: 0 / 0.5821 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1373, allocations: 0 / 0.5821 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.163e-05/0.1374, allocations: 73.91 kB / 0.5822 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1374, allocations: 0 / 0.5822 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.1375, allocations: 23.98 kB / 0.5822 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.1375, allocations: 19.88 kB / 0.5822 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1375, allocations: 3.938 kB / 0.5822 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1375, allocations: 0 / 0.5822 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1375, allocations: 4 kB / 0.5822 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1375, allocations: 80 / 0.5822 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1376, allocations: 101.1 kB / 0.5823 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1376, allocations: 4 kB / 0.5823 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.1377, allocations: 11.92 kB / 0.5823 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1377, allocations: 7.969 kB / 0.5823 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1377, allocations: 8 kB / 0.5823 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.108e-06/0.1377, allocations: 8.859 kB / 0.5824 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1377, allocations: 0 / 0.5824 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001032/0.1378, allocations: 16 kB / 0.5824 GB, free: 1.719 MB / 0.5573 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 9.619e-05/0.1379, allocations: 88.34 kB / 0.5825 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.138, allocations: 44.81 kB / 0.5825 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.138, allocations: 0 / 0.5825 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.138, allocations: 28.8 kB / 0.5825 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1381, allocations: 32.06 kB / 0.5826 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.139, allocations: 197.6 kB / 0.5827 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.139, allocations: 63.34 kB / 0.5828 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.433e-05/0.139, allocations: 8.734 kB / 0.5828 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.1391, allocations: 71.36 kB / 0.5829 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/0.1391, allocations: 0 / 0.5829 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of Templates: time 0.002604/0.1417, allocations: 0.9968 MB / 0.5839 GB, free: 176 kB / 0.5573 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.569870832376182]