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.0009471/0.0009471, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009219/0.0009219, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9667/0.9667, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.783/0.783, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.633e-06/1.633e-06, allocations: 0.5469 kB / 480.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.627e-05, allocations: 8.562 kB / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002702/0.002728, allocations: 1.316 MB / 481.6 MB, free: 5.277 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1263/0.129, allocations: 142.2 MB / 0.6092 GB, free: 6.945 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.129, allocations: 0 / 0.6092 GB, free: 6.945 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.1291, allocations: 7.922 kB / 0.6092 GB, free: 6.938 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.1291, allocations: 3.938 kB / 0.6092 GB, free: 6.934 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1295, allocations: 87.56 kB / 0.6093 GB, free: 6.848 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.1295, allocations: 40.78 kB / 0.6094 GB, free: 6.809 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.1296, allocations: 7.984 kB / 0.6094 GB, free: 6.801 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.1296, allocations: 19.97 kB / 0.6094 GB, free: 6.781 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.1297, allocations: 19.92 kB / 0.6094 GB, free: 6.762 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1297, allocations: 0 / 0.6094 GB, free: 6.762 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.1299, allocations: 75.77 kB / 0.6095 GB, free: 6.688 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.1299, allocations: 11.97 kB / 0.6095 GB, free: 6.676 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.1299, allocations: 11.94 kB / 0.6095 GB, free: 6.664 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.13, allocations: 71.8 kB / 0.6096 GB, free: 6.594 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.13, allocations: 0 / 0.6096 GB, free: 6.594 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.13, allocations: 0 / 0.6096 GB, free: 6.594 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.13, allocations: 0 / 0.6096 GB, free: 6.594 MB / 0.573 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.000261/0.1303, allocations: 252.5 kB / 0.6098 GB, free: 6.324 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1303, allocations: 12.03 kB / 0.6098 GB, free: 6.312 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1305, allocations: 25.14 kB / 0.6098 GB, free: 6.289 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.927e-05/0.1305, allocations: 109.7 kB / 0.61 GB, free: 6.156 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1305, allocations: 8.359 kB / 0.61 GB, free: 6.148 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1306, allocations: 8.375 kB / 0.61 GB, free: 6.141 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.551e-05/0.1306, allocations: 130.7 kB / 0.6101 GB, free: 5.988 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1307, allocations: 0 / 0.6101 GB, free: 5.988 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1307, allocations: 3.938 kB / 0.6101 GB, free: 5.984 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.1307, allocations: 4 kB / 0.6101 GB, free: 5.98 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.1307, allocations: 7.984 kB / 0.6101 GB, free: 5.973 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.832e-05/0.1308, allocations: 69.05 kB / 0.6102 GB, free: 5.891 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.1308, allocations: 46.56 kB / 0.6102 GB, free: 5.836 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.1308, allocations: 12.86 kB / 0.6102 GB, free: 5.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.1308, allocations: 4 kB / 0.6102 GB, free: 5.816 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1309, allocations: 30.56 kB / 0.6103 GB, free: 5.777 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.1309, allocations: 0 / 0.6103 GB, free: 5.777 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.000521/0.1314, allocations: 332.8 kB / 0.6106 GB, free: 5.422 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1314, allocations: 51.41 kB / 0.6106 GB, free: 5.359 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.1315, allocations: 94.72 kB / 0.6107 GB, free: 5.254 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1315, allocations: 33.7 kB / 0.6108 GB, free: 5.215 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.1315, allocations: 80.27 kB / 0.6108 GB, free: 5.133 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1315, allocations: 47.62 kB / 0.6109 GB, free: 5.086 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1315, allocations: 29.69 kB / 0.6109 GB, free: 5.051 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.1316, allocations: 318.8 kB / 0.6112 GB, free: 4.73 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.1316, allocations: 8 kB / 0.6112 GB, free: 4.723 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.1316, allocations: 29.69 kB / 0.6112 GB, free: 4.688 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.1317, allocations: 49.55 kB / 0.6113 GB, free: 4.633 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1317, allocations: 0 / 0.6113 GB, free: 4.633 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.233e-05/0.1317, allocations: 73.61 kB / 0.6114 GB, free: 4.555 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1318, allocations: 8 kB / 0.6114 GB, free: 4.547 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1318, allocations: 0.7031 kB / 0.6114 GB, free: 4.547 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.1318, allocations: 4 kB / 0.6114 GB, free: 4.543 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.1318, allocations: 23.94 kB / 0.6114 GB, free: 4.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.1318, allocations: 3.984 kB / 0.6114 GB, free: 4.516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/0.1319, allocations: 0 / 0.6114 GB, free: 4.516 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1319, allocations: 8 kB / 0.6114 GB, free: 4.508 MB / 0.573 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.526e-05/0.1319, allocations: 113.8 kB / 0.6115 GB, free: 4.387 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1319, allocations: 7.938 kB / 0.6115 GB, free: 4.379 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.1319, allocations: 11.97 kB / 0.6115 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1319, allocations: 0 / 0.6115 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.132, allocations: 0 / 0.6115 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.132, allocations: 11.98 kB / 0.6115 GB, free: 4.355 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.923e-05/0.132, allocations: 69.89 kB / 0.6116 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.132, allocations: 0 / 0.6116 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.1321, allocations: 27.92 kB / 0.6116 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1321, allocations: 0 / 0.6116 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1321, allocations: 4 kB / 0.6116 GB, free: 4.238 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1321, allocations: 3.938 kB / 0.6116 GB, free: 4.234 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1321, allocations: 0 / 0.6116 GB, free: 4.234 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1322, allocations: 109 kB / 0.6118 GB, free: 4.109 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.1322, allocations: 7.953 kB / 0.6118 GB, free: 4.102 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.1322, allocations: 3.984 kB / 0.6118 GB, free: 4.098 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.1323, allocations: 7.938 kB / 0.6118 GB, free: 4.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.1323, allocations: 15.92 kB / 0.6118 GB, free: 4.074 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1323, allocations: 0 / 0.6118 GB, free: 4.074 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.196e-06/0.1323, allocations: 8.859 kB / 0.6118 GB, free: 4.062 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1323, allocations: 0 / 0.6118 GB, free: 4.062 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001014/0.1324, allocations: 16 kB / 0.6118 GB, free: 4.047 MB / 0.573 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 7.108e-05/0.1325, allocations: 76.42 kB / 0.6119 GB, free: 3.961 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.1325, allocations: 52.77 kB / 0.6119 GB, free: 3.906 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1325, allocations: 4.094 kB / 0.6119 GB, free: 3.902 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.1325, allocations: 28.83 kB / 0.612 GB, free: 3.871 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.1326, allocations: 21.8 kB / 0.612 GB, free: 3.852 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.1331, allocations: 237.6 kB / 0.6122 GB, free: 3.598 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.1331, allocations: 67.34 kB / 0.6123 GB, free: 3.512 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1331, allocations: 16.66 kB / 0.6123 GB, free: 3.496 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.1332, allocations: 63.38 kB / 0.6124 GB, free: 3.434 MB / 0.573 GB Notification: Performance of SimCode: time 6.21e-07/0.1332, allocations: 0 / 0.6124 GB, free: 3.434 MB / 0.573 GB Notification: Performance of Templates: time 0.0022/0.1354, allocations: 0.9311 MB / 0.6133 GB, free: 2.531 MB / 0.573 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.75177407823503]