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.0009826/0.0009826, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001049/0.001049, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8096/0.8096, 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.142e-06/1.142e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.495e-05, allocations: 4.938 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001676/0.001691, allocations: 1.355 MB / 481.7 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1282/0.1299, allocations: 142.2 MB / 0.6093 GB, free: 6.848 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.13, allocations: 0 / 0.6093 GB, free: 6.848 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.13, allocations: 0 / 0.6093 GB, free: 6.848 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.1301, allocations: 11.91 kB / 0.6093 GB, free: 6.836 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.1305, allocations: 95.44 kB / 0.6094 GB, free: 6.742 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.1305, allocations: 31.86 kB / 0.6094 GB, free: 6.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.1306, allocations: 4 kB / 0.6095 GB, free: 6.707 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.1307, allocations: 27.95 kB / 0.6095 GB, free: 6.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.1307, allocations: 7.984 kB / 0.6095 GB, free: 6.672 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1307, allocations: 0 / 0.6095 GB, free: 6.672 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.131, allocations: 87.69 kB / 0.6096 GB, free: 6.586 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.131, allocations: 7.922 kB / 0.6096 GB, free: 6.578 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.131, allocations: 15.98 kB / 0.6096 GB, free: 6.562 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1311, allocations: 67.81 kB / 0.6097 GB, free: 6.496 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1311, allocations: 4 kB / 0.6097 GB, free: 6.492 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1311, allocations: 0 / 0.6097 GB, free: 6.492 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1312, allocations: 3.938 kB / 0.6097 GB, free: 6.488 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.0002919/0.1314, allocations: 256.5 kB / 0.6099 GB, free: 6.215 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1315, allocations: 12.03 kB / 0.6099 GB, free: 6.203 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1316, allocations: 25.14 kB / 0.6099 GB, free: 6.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.1317, allocations: 105.8 kB / 0.61 GB, free: 6.051 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1317, allocations: 4.375 kB / 0.61 GB, free: 6.047 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1317, allocations: 16.31 kB / 0.6101 GB, free: 6.031 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1319, allocations: 126.7 kB / 0.6102 GB, free: 5.883 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1319, allocations: 0 / 0.6102 GB, free: 5.883 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1319, allocations: 3.984 kB / 0.6102 GB, free: 5.879 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1319, allocations: 0 / 0.6102 GB, free: 5.879 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/0.1319, allocations: 11.98 kB / 0.6102 GB, free: 5.867 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.801e-05/0.132, allocations: 69.03 kB / 0.6103 GB, free: 5.785 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.1321, allocations: 42.55 kB / 0.6103 GB, free: 5.734 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.1321, allocations: 12.8 kB / 0.6103 GB, free: 5.719 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.1321, allocations: 0 / 0.6103 GB, free: 5.719 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1321, allocations: 42.56 kB / 0.6104 GB, free: 5.668 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.1321, allocations: 0 / 0.6104 GB, free: 5.668 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0006077/0.1327, allocations: 317.1 kB / 0.6107 GB, free: 5.324 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.1327, allocations: 55.41 kB / 0.6107 GB, free: 5.258 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.1328, allocations: 94.72 kB / 0.6108 GB, free: 5.152 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.1328, allocations: 25.7 kB / 0.6108 GB, free: 5.121 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.1328, allocations: 92.08 kB / 0.6109 GB, free: 5.027 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1329, allocations: 39.62 kB / 0.611 GB, free: 4.988 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1329, allocations: 29.7 kB / 0.611 GB, free: 4.953 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.133, allocations: 326.8 kB / 0.6113 GB, free: 4.625 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.133, allocations: 4 kB / 0.6113 GB, free: 4.621 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.133, allocations: 25.83 kB / 0.6113 GB, free: 4.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.1331, allocations: 49.67 kB / 0.6114 GB, free: 4.535 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1331, allocations: 0 / 0.6114 GB, free: 4.535 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.662e-05/0.1331, allocations: 78.16 kB / 0.6114 GB, free: 4.453 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1332, allocations: 4 kB / 0.6114 GB, free: 4.449 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1332, allocations: 4 kB / 0.6115 GB, free: 4.445 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1332, allocations: 0 / 0.6115 GB, free: 4.445 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.1332, allocations: 20 kB / 0.6115 GB, free: 4.426 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.1332, allocations: 3.938 kB / 0.6115 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1333, allocations: 0 / 0.6115 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1333, allocations: 12.06 kB / 0.6115 GB, free: 4.41 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.646e-05/0.1333, allocations: 113.8 kB / 0.6116 GB, free: 4.289 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.1333, allocations: 11.94 kB / 0.6116 GB, free: 4.277 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.1334, allocations: 7.969 kB / 0.6116 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1334, allocations: 0 / 0.6116 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.1334, allocations: 0 / 0.6116 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1334, allocations: 7.984 kB / 0.6116 GB, free: 4.262 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.307e-05/0.1334, allocations: 73.89 kB / 0.6117 GB, free: 4.172 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1334, allocations: 0 / 0.6117 GB, free: 4.172 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.1335, allocations: 31.92 kB / 0.6117 GB, free: 4.141 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1335, allocations: 3.938 kB / 0.6117 GB, free: 4.137 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1335, allocations: 8 kB / 0.6117 GB, free: 4.129 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1335, allocations: 11.92 kB / 0.6117 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1335, allocations: 0 / 0.6117 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1338, allocations: 96.38 kB / 0.6118 GB, free: 4.008 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.1338, allocations: 7.953 kB / 0.6118 GB, free: 4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.1338, allocations: 4 kB / 0.6118 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.1339, allocations: 11.92 kB / 0.6119 GB, free: 3.984 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.1339, allocations: 3.984 kB / 0.6119 GB, free: 3.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1339, allocations: 8 kB / 0.6119 GB, free: 3.973 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.956e-06/0.1339, allocations: 4.859 kB / 0.6119 GB, free: 3.965 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.1339, allocations: 4.094 kB / 0.6119 GB, free: 3.961 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001102/0.134, allocations: 16 kB / 0.6119 GB, free: 3.945 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 8.311e-05/0.1341, allocations: 80.36 kB / 0.612 GB, free: 3.855 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.651e-05/0.1342, allocations: 52.77 kB / 0.612 GB, free: 3.801 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1342, allocations: 0 / 0.612 GB, free: 3.801 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.1342, allocations: 28.78 kB / 0.6121 GB, free: 3.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.1343, allocations: 19.92 kB / 0.6121 GB, free: 3.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.1348, allocations: 233.6 kB / 0.6123 GB, free: 3.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.1348, allocations: 63.34 kB / 0.6124 GB, free: 3.418 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.1348, allocations: 8.734 kB / 0.6124 GB, free: 3.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.1349, allocations: 67.36 kB / 0.6124 GB, free: 3.344 MB / 0.573 GB Notification: Performance of SimCode: time 6.71e-07/0.1349, allocations: 4 kB / 0.6124 GB, free: 3.34 MB / 0.573 GB Notification: Performance of Templates: time 0.002499/0.1374, allocations: 0.9398 MB / 0.6133 GB, free: 2.434 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8233924163505435]