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.00138/0.00138, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001532/0.001532, allocations: 165.9 kB / 22.45 MB, free: 5.375 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.521/1.521, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.275/1.275, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.423e-05/3.648e-05, allocations: 5.672 kB / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002812/0.002848, allocations: 1.296 MB / 0.6198 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.69/0.6928, allocations: 129.1 MB / 0.7458 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.6929, allocations: 0 / 0.7458 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.6929, allocations: 2.297 kB / 0.7458 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.693, allocations: 7.094 kB / 0.7458 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.6934, allocations: 93.14 kB / 0.7459 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.6935, allocations: 33.91 kB / 0.7459 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.6936, allocations: 2.094 kB / 0.7459 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.6936, allocations: 25.48 kB / 0.746 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.6937, allocations: 15.89 kB / 0.746 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.6937, allocations: 1.312 kB / 0.746 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.694, allocations: 86.14 kB / 0.7461 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.694, allocations: 4.766 kB / 0.7461 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.694, allocations: 15.61 kB / 0.7461 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.6942, allocations: 74.02 kB / 0.7462 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6942, allocations: 1.312 kB / 0.7462 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6942, allocations: 0 / 0.7462 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.6942, allocations: 0 / 0.7462 GB, free: 6.168 MB / 0.6075 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.0004195/0.6947, allocations: 278.8 kB / 0.7464 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.6947, allocations: 11.22 kB / 0.7464 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.6949, allocations: 10.75 kB / 0.7464 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.41e-05/0.695, allocations: 109.7 kB / 0.7465 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.695, allocations: 4.938 kB / 0.7465 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.695, allocations: 4.312 kB / 0.7466 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.6952, allocations: 131.6 kB / 0.7467 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6952, allocations: 1.438 kB / 0.7467 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.6952, allocations: 3.938 kB / 0.7467 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6952, allocations: 1.469 kB / 0.7467 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.6953, allocations: 21.98 kB / 0.7467 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.6954, allocations: 110.9 kB / 0.7468 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.6955, allocations: 51.44 kB / 0.7469 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.6956, allocations: 16.89 kB / 0.7469 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.6956, allocations: 1.188 kB / 0.7469 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.6956, allocations: 33.47 kB / 0.7469 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.6956, allocations: 0 / 0.7469 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0007194/0.6963, allocations: 302 kB / 0.7472 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.6963, allocations: 57.44 kB / 0.7473 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.6964, allocations: 91.14 kB / 0.7473 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.6964, allocations: 30.39 kB / 0.7474 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.6964, allocations: 81.67 kB / 0.7474 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.6965, allocations: 43.17 kB / 0.7475 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.6965, allocations: 31.06 kB / 0.7475 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.6966, allocations: 315.8 kB / 0.7478 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.6966, allocations: 21.48 kB / 0.7478 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.6967, allocations: 38.72 kB / 0.7479 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.6967, allocations: 59.12 kB / 0.7479 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6967, allocations: 4.125 kB / 0.7479 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001358/0.6969, allocations: 101.4 kB / 0.748 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6969, allocations: 5.188 kB / 0.748 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6969, allocations: 3.75 kB / 0.748 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.6969, allocations: 0 / 0.748 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.697, allocations: 27.2 kB / 0.7481 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.697, allocations: 1.312 kB / 0.7481 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.6971, allocations: 1.281 kB / 0.7481 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6971, allocations: 7.156 kB / 0.7481 GB, free: 4.543 MB / 0.6075 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.105e-05/0.6971, allocations: 113 kB / 0.7482 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.6972, allocations: 14.77 kB / 0.7482 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.6972, allocations: 13.69 kB / 0.7482 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6972, allocations: 1.375 kB / 0.7482 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6972, allocations: 0 / 0.7482 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.6972, allocations: 3.938 kB / 0.7482 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.106e-05/0.6973, allocations: 118.8 kB / 0.7483 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6973, allocations: 0 / 0.7483 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.6974, allocations: 20.53 kB / 0.7483 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.6974, allocations: 5.156 kB / 0.7484 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.6974, allocations: 1.375 kB / 0.7484 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6974, allocations: 0 / 0.7484 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6974, allocations: 5.781 kB / 0.7484 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.6976, allocations: 134.5 kB / 0.7485 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.6977, allocations: 9.188 kB / 0.7485 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.6977, allocations: 8.625 kB / 0.7485 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.6978, allocations: 5.594 kB / 0.7485 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.6978, allocations: 11.19 kB / 0.7485 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6978, allocations: 4.594 kB / 0.7485 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.6978, allocations: 76.59 kB / 0.7486 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6978, allocations: 0 / 0.7486 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001956/0.698, allocations: 15.56 kB / 0.7486 GB, free: 4.121 MB / 0.6075 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 9.65e-05/0.6981, allocations: 105 kB / 0.7487 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.6983, allocations: 50.61 kB / 0.7488 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6983, allocations: 1.188 kB / 0.7488 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.6983, allocations: 25.69 kB / 0.7488 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.6985, allocations: 11.47 kB / 0.7488 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.699, allocations: 256.5 kB / 0.749 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.6991, allocations: 71.23 kB / 0.7491 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.017e-05/0.6991, allocations: 10.75 kB / 0.7491 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.6992, allocations: 14.06 kB / 0.7491 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.6992, allocations: 0 / 0.7491 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.003523/0.7027, allocations: 0.6144 MB / 0.7497 GB, free: 3.672 MB / 0.6075 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.872012257575989] Failed to read output from testmodel.py, exit status != 0: 0.7122443430125713 0.727461007 0.029864455 Calling exit ...