Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001851/0.001851, 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.001964/0.001964, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.397/1.397, allocations: 154.6 MB / 414.1 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.085e-05/1.085e-05, allocations: 3.984 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.712e-05/4.797e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003755/0.003802, allocations: 1.288 MB / 0.5209 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2262/0.23, allocations: 142.5 MB / 0.66 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.23, allocations: 4 kB / 0.66 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2301, allocations: 0 / 0.66 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.2302, allocations: 7.922 kB / 0.66 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.2308, allocations: 99.42 kB / 0.6601 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2309, allocations: 31.86 kB / 0.6602 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.2309, allocations: 0 / 0.6602 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.231, allocations: 23.97 kB / 0.6602 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.2311, allocations: 7.984 kB / 0.6602 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.2311, allocations: 8 kB / 0.6602 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.2315, allocations: 75.75 kB / 0.6603 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.2317, allocations: 11.92 kB / 0.6603 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.2317, allocations: 8 kB / 0.6603 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.2321, allocations: 75.73 kB / 0.6604 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-05/0.2321, allocations: 0 / 0.6604 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2321, allocations: 0 / 0.6604 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2321, allocations: 0 / 0.6604 GB, free: 2.066 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.0007482/0.2328, allocations: 384.1 kB / 0.6607 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.2329, allocations: 8.031 kB / 0.6607 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.2333, allocations: 28.81 kB / 0.6608 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.2334, allocations: 112.6 kB / 0.6609 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2335, allocations: 4.375 kB / 0.6609 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.2335, allocations: 4.375 kB / 0.6609 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2337, allocations: 138.7 kB / 0.661 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2337, allocations: 3.938 kB / 0.661 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2338, allocations: 0 / 0.661 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2338, allocations: 0 / 0.661 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.2339, allocations: 15.98 kB / 0.661 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.2341, allocations: 120.6 kB / 0.6612 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.2343, allocations: 59.05 kB / 0.6612 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.2343, allocations: 23.66 kB / 0.6612 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2343, allocations: 0 / 0.6612 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.2344, allocations: 45.27 kB / 0.6613 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2344, allocations: 0 / 0.6613 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001017/0.2354, allocations: 301.8 kB / 0.6616 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.2355, allocations: 55.41 kB / 0.6616 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2356, allocations: 157.9 kB / 0.6618 GB, free: 432 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.2356, allocations: 29.83 kB / 0.6618 GB, free: 396 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.2357, allocations: 126.9 kB / 0.6619 GB, free: 264 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.2358, allocations: 43.66 kB / 0.662 GB, free: 220 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.2358, allocations: 35.36 kB / 0.662 GB, free: 176 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003121/0.2361, allocations: 0.4884 MB / 0.6625 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.2362, allocations: 15.98 kB / 0.6625 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.2363, allocations: 51.3 kB / 0.6625 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.2364, allocations: 67.34 kB / 0.6626 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2364, allocations: 0 / 0.6626 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001843/0.2366, allocations: 106.1 kB / 0.6627 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2366, allocations: 8 kB / 0.6627 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2366, allocations: 0 / 0.6627 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2366, allocations: 4 kB / 0.6627 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2367, allocations: 19.98 kB / 0.6627 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2367, allocations: 4 kB / 0.6627 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.2368, allocations: 0 / 0.6627 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2368, allocations: 8 kB / 0.6627 GB, free: 15.37 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.0001654/0.237, allocations: 164.5 kB / 0.6629 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.237, allocations: 7.938 kB / 0.6629 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.237, allocations: 11.97 kB / 0.6629 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.237, allocations: 4 kB / 0.6629 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.237, allocations: 0 / 0.6629 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.237, allocations: 4 kB / 0.6629 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2372, allocations: 124.6 kB / 0.663 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2372, allocations: 0 / 0.663 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2373, allocations: 27.92 kB / 0.6631 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2373, allocations: 4 kB / 0.6631 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2373, allocations: 0 / 0.6631 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.2373, allocations: 0 / 0.6631 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2373, allocations: 0 / 0.6631 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.2376, allocations: 153.1 kB / 0.6632 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.2377, allocations: 23.88 kB / 0.6632 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.2377, allocations: 0 / 0.6632 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.2378, allocations: 4 kB / 0.6633 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.2378, allocations: 7.984 kB / 0.6633 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2378, allocations: 4 kB / 0.6633 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.54e-05/0.2379, allocations: 119.2 kB / 0.6634 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.2379, allocations: 0 / 0.6634 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002042/0.2381, allocations: 20 kB / 0.6634 GB, free: 14.64 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.0001433/0.2382, allocations: 95.25 kB / 0.6635 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.2384, allocations: 79.69 kB / 0.6636 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2384, allocations: 0 / 0.6636 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.2385, allocations: 39.61 kB / 0.6636 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2388, allocations: 18.02 kB / 0.6636 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.2394, allocations: 277.5 kB / 0.6639 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.827e-05/0.2394, allocations: 75.19 kB / 0.664 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.969e-05/0.2395, allocations: 8.734 kB / 0.664 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.2395, allocations: 12.5 kB / 0.664 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.2395, allocations: 0 / 0.664 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.004272/0.2438, allocations: 0.8479 MB / 0.6648 GB, free: 13.17 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7984947740333155]