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.0007612/0.0007612, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007139/0.0007139, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.9175/0.9175, allocations: 230.6 MB / 256.8 MB, free: 3.438 MB / 202.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-531:190: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-531:198: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.7731/0.7731, allocations: 203.8 MB / 0.5049 GB, free: 0.7461 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 67.91 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5195, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001888/0.5214, allocations: 1.297 MB / 0.8203 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1356/0.657, allocations: 150.3 MB / 0.9671 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.6571, allocations: 0 / 0.9671 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.6571, allocations: 0 / 0.9671 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.6572, allocations: 11.92 kB / 0.9671 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.6575, allocations: 95.56 kB / 0.9672 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.6576, allocations: 31.91 kB / 0.9673 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.6577, allocations: 4 kB / 0.9673 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/0.6577, allocations: 19.92 kB / 0.9673 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.6578, allocations: 11.98 kB / 0.9673 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.6578, allocations: 4 kB / 0.9673 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.658, allocations: 91.69 kB / 0.9674 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.658, allocations: 0 / 0.9674 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.658, allocations: 15.94 kB / 0.9674 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.6582, allocations: 74.45 kB / 0.9675 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6582, allocations: 0 / 0.9675 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6582, allocations: 4 kB / 0.9675 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6582, allocations: 0 / 0.9675 GB, free: 10.75 MB / 0.7448 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.0003497/0.6585, allocations: 278.2 kB / 0.9677 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6586, allocations: 9.469 kB / 0.9678 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.6587, allocations: 12.89 kB / 0.9678 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.713e-05/0.6588, allocations: 106.5 kB / 0.9679 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6588, allocations: 7.938 kB / 0.9679 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.6588, allocations: 15.92 kB / 0.9679 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.6589, allocations: 53.62 kB / 0.9679 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6589, allocations: 0 / 0.9679 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6589, allocations: 0 / 0.9679 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6589, allocations: 0 / 0.9679 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.659, allocations: 23.97 kB / 0.968 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.6591, allocations: 136.7 kB / 0.9681 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.6592, allocations: 42.56 kB / 0.9681 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.6592, allocations: 24.86 kB / 0.9682 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.6592, allocations: 0 / 0.9682 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.6592, allocations: 34.5 kB / 0.9682 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.6592, allocations: 0 / 0.9682 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0005507/0.6598, allocations: 300.1 kB / 0.9685 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.6598, allocations: 55.41 kB / 0.9685 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.6599, allocations: 97.86 kB / 0.9686 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.6599, allocations: 29.7 kB / 0.9686 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.6599, allocations: 80.14 kB / 0.9687 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.6599, allocations: 47.58 kB / 0.9688 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.66, allocations: 25.72 kB / 0.9688 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.6601, allocations: 318.8 kB / 0.9691 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.6601, allocations: 23.98 kB / 0.9691 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.6601, allocations: 37.83 kB / 0.9692 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.6602, allocations: 61.64 kB / 0.9692 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.6602, allocations: 0 / 0.9692 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.007e-05/0.6603, allocations: 94.23 kB / 0.9693 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6603, allocations: 8 kB / 0.9693 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6603, allocations: 0 / 0.9693 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.6603, allocations: 0 / 0.9693 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.6604, allocations: 27.98 kB / 0.9693 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6604, allocations: 0 / 0.9693 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.6604, allocations: 8 kB / 0.9693 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.6604, allocations: 4 kB / 0.9694 GB, free: 8.609 MB / 0.7448 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 6.111e-05/0.6605, allocations: 122.7 kB / 0.9695 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.6605, allocations: 7.938 kB / 0.9695 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.6605, allocations: 15.91 kB / 0.9695 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6605, allocations: 0 / 0.9695 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6605, allocations: 0 / 0.9695 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6605, allocations: 3.938 kB / 0.9695 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.253e-05/0.6606, allocations: 148.7 kB / 0.9696 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.6606, allocations: 4 kB / 0.9696 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.6607, allocations: 16 kB / 0.9697 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6607, allocations: 4 kB / 0.9697 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.6607, allocations: 3.938 kB / 0.9697 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6607, allocations: 3.984 kB / 0.9697 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.6607, allocations: 0 / 0.9697 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.6608, allocations: 136.9 kB / 0.9698 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.6609, allocations: 4.047 kB / 0.9698 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.6609, allocations: 11.98 kB / 0.9698 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.6609, allocations: 4 kB / 0.9698 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.661, allocations: 7.922 kB / 0.9698 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.661, allocations: 8 kB / 0.9698 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.103e-05/0.661, allocations: 75.28 kB / 0.9699 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.661, allocations: 0 / 0.9699 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001236/0.6612, allocations: 19.94 kB / 0.9699 GB, free: 7.953 MB / 0.7448 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.274e-05/0.6612, allocations: 99.34 kB / 0.97 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.6613, allocations: 59.91 kB / 0.9701 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6613, allocations: 0 / 0.9701 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.6614, allocations: 23.94 kB / 0.9701 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.6616, allocations: 13.36 kB / 0.9701 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.662, allocations: 354.9 kB / 0.9705 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.6622, allocations: 0.6814 MB / 0.9711 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.6622, allocations: 19.38 kB / 0.9711 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.6622, allocations: 0 / 0.9711 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of Templates: time 0.001596/0.6638, allocations: 0.8303 MB / 0.9719 GB, free: 5.812 MB / 0.7448 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850062594981864] Failed to read output from testmodel.py, exit status != 0: 0.669913784135133 0.6773192610000001 0.017483609 Calling exit ...