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.0008737/0.0008737, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0009549/0.0009549, allocations: 212.7 kB / 23 MB, free: 2.977 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.9747/0.9747, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.8163/0.8163, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.0009115/0.0009115, allocations: 63.62 kB / 0.7194 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5712, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001662/0.5729, allocations: 1.275 MB / 0.8202 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.7109, allocations: 129.1 MB / 0.9463 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.7109, allocations: 0 / 0.9463 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.7109, allocations: 3.984 kB / 0.9463 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.711, allocations: 11.94 kB / 0.9463 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.7114, allocations: 92.44 kB / 0.9464 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.7115, allocations: 31.92 kB / 0.9464 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.7116, allocations: 4 kB / 0.9464 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.7116, allocations: 15.92 kB / 0.9464 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.7117, allocations: 19.91 kB / 0.9465 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.7117, allocations: 4 kB / 0.9465 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.7119, allocations: 71.78 kB / 0.9465 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.7119, allocations: 19.97 kB / 0.9465 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.712, allocations: 15.94 kB / 0.9466 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.7121, allocations: 54.7 kB / 0.9466 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7121, allocations: 3.938 kB / 0.9466 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7121, allocations: 0 / 0.9466 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.7121, allocations: 0 / 0.9466 GB, free: 2.516 MB / 0.7136 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.0003782/0.7125, allocations: 278.2 kB / 0.9469 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7125, allocations: 8.031 kB / 0.9469 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.7127, allocations: 12.92 kB / 0.9469 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.893e-05/0.7128, allocations: 114.5 kB / 0.947 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.7128, allocations: 7.922 kB / 0.947 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.7128, allocations: 7.953 kB / 0.947 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.713, allocations: 138.7 kB / 0.9472 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.713, allocations: 0 / 0.9472 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.713, allocations: 0 / 0.9472 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.713, allocations: 0 / 0.9472 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.7131, allocations: 19.98 kB / 0.9472 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.7132, allocations: 101.3 kB / 0.9473 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.7133, allocations: 50.5 kB / 0.9473 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.7133, allocations: 28.84 kB / 0.9474 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.7133, allocations: 3.938 kB / 0.9474 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.7133, allocations: 34.5 kB / 0.9474 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.7133, allocations: 0 / 0.9474 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0006086/0.7139, allocations: 297.2 kB / 0.9477 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.714, allocations: 51.41 kB / 0.9477 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.714, allocations: 101.8 kB / 0.9478 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.714, allocations: 25.7 kB / 0.9478 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.7141, allocations: 80.27 kB / 0.9479 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.7141, allocations: 51.58 kB / 0.948 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.7141, allocations: 25.72 kB / 0.948 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.7142, allocations: 322.8 kB / 0.9483 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.7142, allocations: 16 kB / 0.9483 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.7143, allocations: 36.83 kB / 0.9484 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.494e-05/0.7144, allocations: 65.64 kB / 0.9484 GB, free: 468 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7144, allocations: 0 / 0.9484 GB, free: 468 kB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001264/0.7145, allocations: 98.14 kB / 0.9485 GB, free: 364 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7145, allocations: 4 kB / 0.9485 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7145, allocations: 160 / 0.9485 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7145, allocations: 8 kB / 0.9485 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.7146, allocations: 19.98 kB / 0.9485 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7146, allocations: 7.984 kB / 0.9485 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.7147, allocations: 4 kB / 0.9486 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7147, allocations: 4 kB / 0.9486 GB, free: 316 kB / 0.7136 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.873e-05/0.7147, allocations: 117.7 kB / 0.9487 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.7147, allocations: 7.953 kB / 0.9487 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.7148, allocations: 7.906 kB / 0.9487 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7148, allocations: 4 kB / 0.9487 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7148, allocations: 0 / 0.9487 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7148, allocations: 7.984 kB / 0.9487 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.7149, allocations: 121.2 kB / 0.9488 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.7149, allocations: 3.938 kB / 0.9488 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.715, allocations: 23.98 kB / 0.9488 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.715, allocations: 0 / 0.9488 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.715, allocations: 4 kB / 0.9488 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.715, allocations: 0 / 0.9488 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.715, allocations: 0 / 0.9488 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.7151, allocations: 135.2 kB / 0.949 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.7152, allocations: 12.03 kB / 0.949 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.7152, allocations: 4 kB / 0.949 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.216e-05/0.7152, allocations: 4 kB / 0.949 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.7152, allocations: 11.98 kB / 0.949 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.7152, allocations: 4 kB / 0.949 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.7153, allocations: 83.16 kB / 0.9491 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.7153, allocations: 0 / 0.9491 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001283/0.7154, allocations: 16 kB / 0.9491 GB, free: 15.7 MB / 0.7292 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.759e-05/0.7155, allocations: 99.23 kB / 0.9492 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.7156, allocations: 51.92 kB / 0.9492 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7156, allocations: 4.094 kB / 0.9492 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.7156, allocations: 31.92 kB / 0.9493 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.7158, allocations: 11.94 kB / 0.9493 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.7163, allocations: 343 kB / 0.9496 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.7163, allocations: 79.77 kB / 0.9497 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.7164, allocations: 11.44 kB / 0.9497 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.7164, allocations: 0 / 0.9497 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.001744/0.7181, allocations: 0.8497 MB / 0.9505 GB, free: 14.16 MB / 0.7292 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: 6.293641082942486] Failed to read output from testmodel.py, exit status != 0: 0.72394202882424 0.732073066 0.018208301 Calling exit ...