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.002811/0.002811, allocations: 93.47 kB / 19.44 MB, free: 336 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.003199/0.003199, allocations: 177.2 kB / 22.77 MB, free: 1.656 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.704/1.704, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-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 1.364/1.364, allocations: 154.8 MB / 414.4 MB, free: 472 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 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.324e-06/2.324e-06, allocations: 0 / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.751e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00259/0.002627, allocations: 1.297 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2171/0.2197, allocations: 142.5 MB / 0.6603 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.2198, allocations: 4 kB / 0.6603 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.2198, allocations: 3.984 kB / 0.6603 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.2199, allocations: 3.938 kB / 0.6603 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.2204, allocations: 91.5 kB / 0.6604 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2205, allocations: 31.86 kB / 0.6604 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.2206, allocations: 7.984 kB / 0.6604 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.2207, allocations: 23.97 kB / 0.6604 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.2207, allocations: 15.91 kB / 0.6605 GB, free: 2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2208, allocations: 0 / 0.6605 GB, free: 2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.2211, allocations: 79.7 kB / 0.6605 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.2211, allocations: 4 kB / 0.6605 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.2211, allocations: 19.91 kB / 0.6606 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2213, allocations: 67.81 kB / 0.6606 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2213, allocations: 0 / 0.6606 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2213, allocations: 0 / 0.6606 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2214, allocations: 4 kB / 0.6606 GB, free: 1.828 MB / 0.6198 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.0005579/0.2219, allocations: 376.2 kB / 0.661 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.222, allocations: 8.031 kB / 0.661 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.2222, allocations: 24.81 kB / 0.661 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2224, allocations: 112.6 kB / 0.6611 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2224, allocations: 4.375 kB / 0.6611 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.2224, allocations: 4.375 kB / 0.6611 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.2226, allocations: 138.7 kB / 0.6613 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2226, allocations: 0 / 0.6613 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2226, allocations: 7.938 kB / 0.6613 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2227, allocations: 0 / 0.6613 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.2227, allocations: 19.97 kB / 0.6613 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.2229, allocations: 124.6 kB / 0.6614 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.2231, allocations: 58.98 kB / 0.6615 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.2231, allocations: 15.69 kB / 0.6615 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2231, allocations: 0 / 0.6615 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.2232, allocations: 45.33 kB / 0.6615 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2232, allocations: 0 / 0.6615 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008591/0.224, allocations: 306.3 kB / 0.6618 GB, free: 436 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2241, allocations: 51.41 kB / 0.6619 GB, free: 372 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2242, allocations: 157.9 kB / 0.662 GB, free: 196 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2242, allocations: 25.7 kB / 0.662 GB, free: 164 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.2243, allocations: 126.9 kB / 0.6622 GB, free: 32 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.2244, allocations: 47.83 kB / 0.6622 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.2244, allocations: 35.31 kB / 0.6622 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.2247, allocations: 0.4884 MB / 0.6627 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.2247, allocations: 16 kB / 0.6627 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.2248, allocations: 43.48 kB / 0.6628 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2249, allocations: 71.3 kB / 0.6628 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2249, allocations: 0 / 0.6628 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001831/0.2251, allocations: 109.3 kB / 0.6629 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2251, allocations: 6.656 kB / 0.663 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2251, allocations: 0 / 0.663 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.2251, allocations: 4 kB / 0.663 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.2253, allocations: 19.98 kB / 0.663 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2253, allocations: 7.938 kB / 0.663 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.2253, allocations: 0 / 0.663 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2253, allocations: 8 kB / 0.663 GB, free: 15.14 MB / 0.6355 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.0001319/0.2255, allocations: 164.5 kB / 0.6631 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.2255, allocations: 8 kB / 0.6632 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.2255, allocations: 19.94 kB / 0.6632 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2255, allocations: 0 / 0.6632 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2255, allocations: 0 / 0.6632 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2255, allocations: 4 kB / 0.6632 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2257, allocations: 124.6 kB / 0.6633 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2257, allocations: 3.938 kB / 0.6633 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2258, allocations: 23.98 kB / 0.6633 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2258, allocations: 0 / 0.6633 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2258, allocations: 7.938 kB / 0.6633 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2258, allocations: 4 kB / 0.6633 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2258, allocations: 0 / 0.6633 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.2261, allocations: 148.3 kB / 0.6635 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.2261, allocations: 15.89 kB / 0.6635 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.2262, allocations: 0 / 0.6635 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.2262, allocations: 7.984 kB / 0.6635 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.2263, allocations: 4 kB / 0.6635 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2263, allocations: 7.984 kB / 0.6635 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.2263, allocations: 119.2 kB / 0.6636 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.2263, allocations: 96 / 0.6636 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002005/0.2265, allocations: 24 kB / 0.6636 GB, free: 14.4 MB / 0.6355 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.0001352/0.2267, allocations: 99.19 kB / 0.6637 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2269, allocations: 63.66 kB / 0.6638 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2269, allocations: 0 / 0.6638 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.2269, allocations: 43.55 kB / 0.6638 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2272, allocations: 24.45 kB / 0.6639 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.2278, allocations: 269.6 kB / 0.6641 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.228, allocations: 71.2 kB / 0.6642 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.469e-05/0.228, allocations: 12.72 kB / 0.6642 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.2281, allocations: 12.5 kB / 0.6642 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.2281, allocations: 0 / 0.6642 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.004128/0.2322, allocations: 0.8448 MB / 0.665 GB, free: 12.94 MB / 0.6355 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.989390704897232]