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.001375/0.001375, allocations: 92.7 kB / 19.44 MB, free: 320 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.001599/0.001599, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.289/1.289, allocations: 154.8 MB / 414.3 MB, free: 464 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 1.734e-06/1.734e-06, allocations: 0 / 0.5198 GB, free: 1.273 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.803e-05, allocations: 6.812 kB / 0.5198 GB, free: 1.27 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00263/0.002668, allocations: 1.277 MB / 0.5211 GB, free: 8 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.6271/0.6298, allocations: 129.1 MB / 0.6471 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.6298, allocations: 1.062 kB / 0.6471 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.6298, allocations: 1.125 kB / 0.6471 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.6299, allocations: 7.234 kB / 0.6471 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.6304, allocations: 94.95 kB / 0.6472 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.777e-05/0.6305, allocations: 37.33 kB / 0.6472 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.6305, allocations: 2.938 kB / 0.6473 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.6306, allocations: 20.73 kB / 0.6473 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.6306, allocations: 15.36 kB / 0.6473 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.6307, allocations: 1.906 kB / 0.6473 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.6309, allocations: 82.39 kB / 0.6474 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.6309, allocations: 5.719 kB / 0.6474 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.631, allocations: 15.22 kB / 0.6474 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.6312, allocations: 73.44 kB / 0.6475 GB, free: 16.87 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6312, allocations: 0.5938 kB / 0.6475 GB, free: 16.87 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6312, allocations: 0 / 0.6475 GB, free: 16.87 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6312, allocations: 1.719 kB / 0.6475 GB, free: 16.87 MB / 0.5573 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.0003859/0.6316, allocations: 276.8 kB / 0.6477 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6316, allocations: 9.438 kB / 0.6477 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.6319, allocations: 26.61 kB / 0.6478 GB, free: 16.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.074e-05/0.6319, allocations: 106.6 kB / 0.6479 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6319, allocations: 5.344 kB / 0.6479 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.632, allocations: 9.188 kB / 0.6479 GB, free: 16.47 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.6321, allocations: 134.8 kB / 0.648 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6321, allocations: 3.688 kB / 0.648 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6322, allocations: 0.875 kB / 0.648 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6322, allocations: 1.719 kB / 0.648 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.6322, allocations: 16.91 kB / 0.648 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.6323, allocations: 108.5 kB / 0.6481 GB, free: 16.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.6325, allocations: 48.89 kB / 0.6482 GB, free: 16.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.6325, allocations: 15.28 kB / 0.6482 GB, free: 16.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.6325, allocations: 2.922 kB / 0.6482 GB, free: 16.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.6325, allocations: 34.97 kB / 0.6482 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.6325, allocations: 4.781 kB / 0.6482 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007919/0.6333, allocations: 306.1 kB / 0.6485 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.6333, allocations: 52.92 kB / 0.6486 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.6334, allocations: 94.14 kB / 0.6487 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.6334, allocations: 30.86 kB / 0.6487 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.819e-05/0.6334, allocations: 82.14 kB / 0.6488 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.6335, allocations: 41.64 kB / 0.6488 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.6335, allocations: 27.25 kB / 0.6488 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.6336, allocations: 318.8 kB / 0.6491 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.6336, allocations: 18.28 kB / 0.6492 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.6337, allocations: 39.62 kB / 0.6492 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.6338, allocations: 58.33 kB / 0.6492 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6338, allocations: 1.688 kB / 0.6492 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000159/0.6339, allocations: 109.9 kB / 0.6494 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.634, allocations: 6.734 kB / 0.6494 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.634, allocations: 1.844 kB / 0.6494 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.634, allocations: 1 kB / 0.6494 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.6341, allocations: 22.03 kB / 0.6494 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.6341, allocations: 7.953 kB / 0.6494 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.6341, allocations: 1.188 kB / 0.6494 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6342, allocations: 8.812 kB / 0.6494 GB, free: 15.29 MB / 0.5573 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 5.863e-05/0.6342, allocations: 114.1 kB / 0.6495 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.6342, allocations: 8.656 kB / 0.6495 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.6343, allocations: 12.75 kB / 0.6495 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6343, allocations: 2.859 kB / 0.6495 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6343, allocations: 1.219 kB / 0.6495 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6343, allocations: 2.141 kB / 0.6495 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/0.6344, allocations: 113.9 kB / 0.6496 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6344, allocations: 2.625 kB / 0.6496 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.6345, allocations: 22.16 kB / 0.6497 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6345, allocations: 5.719 kB / 0.6497 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.6345, allocations: 1.703 kB / 0.6497 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6345, allocations: 5.766 kB / 0.6497 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6345, allocations: 0 / 0.6497 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.6348, allocations: 137.3 kB / 0.6498 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.6348, allocations: 14.72 kB / 0.6498 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.6348, allocations: 1.5 kB / 0.6498 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.6349, allocations: 8.453 kB / 0.6498 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.6349, allocations: 6.078 kB / 0.6498 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.6349, allocations: 4.281 kB / 0.6498 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.797e-05/0.635, allocations: 77.44 kB / 0.6499 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.635, allocations: 4.625 kB / 0.6499 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002053/0.6352, allocations: 17.28 kB / 0.6499 GB, free: 14.89 MB / 0.5573 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.0001083/0.6353, allocations: 100.4 kB / 0.65 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.6354, allocations: 53.05 kB / 0.6501 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.6354, allocations: 0.875 kB / 0.6501 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.6355, allocations: 27.02 kB / 0.6501 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.6358, allocations: 33.61 kB / 0.6501 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.6364, allocations: 269.4 kB / 0.6504 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.6364, allocations: 74.77 kB / 0.6505 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.6365, allocations: 9.703 kB / 0.6505 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.6365, allocations: 16.28 kB / 0.6505 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.6365, allocations: 0 / 0.6505 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.004108/0.6406, allocations: 0.8448 MB / 0.6513 GB, free: 14.51 MB / 0.5573 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.664744865032844]