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.001899/0.001899, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002668/0.002668, allocations: 211.8 kB / 22.25 MB, free: 4.863 MB / 14.72 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.662/1.662, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.325/1.325, allocations: 203.8 MB / 0.5041 GB, free: 4.609 MB / 414.1 MB " [Timeout remaining time 178] 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.002172/0.002172, allocations: 67.91 kB / 0.7186 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8325, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002856/0.8354, allocations: 1.282 MB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1978/1.033, allocations: 129.1 MB / 0.9455 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/1.033, allocations: 0 / 0.9455 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/1.033, allocations: 3.938 kB / 0.9455 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/1.033, allocations: 11.91 kB / 0.9455 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/1.034, allocations: 99.58 kB / 0.9456 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/1.034, allocations: 35.84 kB / 0.9457 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/1.034, allocations: 4 kB / 0.9457 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/1.034, allocations: 19.92 kB / 0.9457 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/1.034, allocations: 7.984 kB / 0.9457 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/1.034, allocations: 4 kB / 0.9457 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/1.035, allocations: 75.83 kB / 0.9458 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/1.035, allocations: 11.92 kB / 0.9458 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/1.035, allocations: 15.98 kB / 0.9458 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/1.035, allocations: 63.69 kB / 0.9459 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.035, allocations: 0 / 0.9459 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/1.035, allocations: 0 / 0.9459 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.226e-05/1.035, allocations: 0 / 0.9459 GB, free: 3.301 MB / 0.7169 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.0005168/1.035, allocations: 277.9 kB / 0.9461 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.035, allocations: 9.469 kB / 0.9461 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/1.036, allocations: 8.938 kB / 0.9461 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.036, allocations: 122.4 kB / 0.9463 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/1.036, allocations: 3.938 kB / 0.9463 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/1.036, allocations: 12 kB / 0.9463 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/1.036, allocations: 122.8 kB / 0.9464 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.036, allocations: 0 / 0.9464 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/1.036, allocations: 0 / 0.9464 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.036, allocations: 0 / 0.9464 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/1.036, allocations: 15.98 kB / 0.9464 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/1.036, allocations: 117.3 kB / 0.9465 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/1.036, allocations: 50.44 kB / 0.9466 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/1.036, allocations: 16.86 kB / 0.9466 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.036, allocations: 7.984 kB / 0.9466 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.037, allocations: 30.56 kB / 0.9466 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/1.037, allocations: 4 kB / 0.9466 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008307/1.037, allocations: 305.7 kB / 0.9469 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/1.037, allocations: 51.41 kB / 0.947 GB, free: 2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/1.037, allocations: 89.86 kB / 0.9471 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/1.037, allocations: 29.7 kB / 0.9471 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/1.038, allocations: 84.14 kB / 0.9472 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/1.038, allocations: 47.52 kB / 0.9472 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/1.038, allocations: 29.7 kB / 0.9472 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.038, allocations: 322.9 kB / 0.9475 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/1.038, allocations: 19.98 kB / 0.9476 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/1.038, allocations: 38.58 kB / 0.9476 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.857e-05/1.038, allocations: 57.72 kB / 0.9477 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/1.038, allocations: 3.938 kB / 0.9477 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001613/1.038, allocations: 97.59 kB / 0.9477 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.038, allocations: 4 kB / 0.9478 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.038, allocations: 0 / 0.9478 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.038, allocations: 4 kB / 0.9478 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/1.038, allocations: 23.92 kB / 0.9478 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.038, allocations: 4 kB / 0.9478 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/1.038, allocations: 8 kB / 0.9478 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/1.038, allocations: 0 / 0.9478 GB, free: 1.102 MB / 0.7169 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 0.0001037/1.038, allocations: 118.8 kB / 0.9479 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/1.038, allocations: 7.953 kB / 0.9479 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/1.039, allocations: 11.91 kB / 0.9479 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.039, allocations: 4 kB / 0.9479 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.039, allocations: 0 / 0.9479 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.039, allocations: 3.984 kB / 0.9479 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/1.039, allocations: 117.2 kB / 0.948 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.039, allocations: 4 kB / 0.948 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/1.039, allocations: 31.92 kB / 0.9481 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/1.039, allocations: 0 / 0.9481 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/1.039, allocations: 0 / 0.9481 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.039, allocations: 0 / 0.9481 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.039, allocations: 0 / 0.9481 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/1.039, allocations: 138 kB / 0.9482 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/1.039, allocations: 8.031 kB / 0.9482 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.039, allocations: 0 / 0.9482 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/1.039, allocations: 8 kB / 0.9482 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/1.039, allocations: 7.984 kB / 0.9482 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/1.039, allocations: 4 kB / 0.9482 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.063e-05/1.039, allocations: 79.28 kB / 0.9483 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/1.039, allocations: 0 / 0.9483 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/1.04, allocations: 16 kB / 0.9483 GB, free: 0.4961 MB / 0.7169 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 0.0001224/1.04, allocations: 103.2 kB / 0.9484 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001546/1.04, allocations: 55.84 kB / 0.9485 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.04, allocations: 0 / 0.9485 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/1.04, allocations: 27.38 kB / 0.9485 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/1.04, allocations: 16.03 kB / 0.9485 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/1.041, allocations: 325.2 kB / 0.9488 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.096e-05/1.041, allocations: 68.09 kB / 0.9489 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.741e-05/1.041, allocations: 12.66 kB / 0.9489 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/1.041, allocations: 11.44 kB / 0.9489 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/1.041, allocations: 7.938 kB / 0.9489 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.003467/1.044, allocations: 0.632 MB / 0.9495 GB, free: 15.21 MB / 0.7325 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: 7.640670079737902] Failed to read output from testmodel.py, exit status != 0: 1.0540290847420692 1.071618814 0.03317291 Calling exit ...