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.001519/0.001519, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001723/0.001723, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.109/1.109, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.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-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 0.802/0.802, allocations: 154.9 MB / 415.1 MB, free: 272 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 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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5211 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.056e-05, allocations: 4.141 kB / 0.5211 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002621/0.002651, allocations: 1.305 MB / 0.5224 GB, free: 284 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.128/0.1306, allocations: 140.1 MB / 0.6592 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1307, allocations: 0 / 0.6592 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.1307, allocations: 3.984 kB / 0.6592 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.037e-05/0.1307, allocations: 7.922 kB / 0.6592 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1311, allocations: 95.5 kB / 0.6593 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.1312, allocations: 31.86 kB / 0.6593 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.1312, allocations: 11.97 kB / 0.6593 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.1313, allocations: 19.97 kB / 0.6594 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.1313, allocations: 15.92 kB / 0.6594 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1314, allocations: 0 / 0.6594 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.1316, allocations: 75.77 kB / 0.6594 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.1316, allocations: 11.97 kB / 0.6595 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.1316, allocations: 8 kB / 0.6595 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1317, allocations: 87.67 kB / 0.6595 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1317, allocations: 0 / 0.6595 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1317, allocations: 0 / 0.6595 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1317, allocations: 0 / 0.6595 GB, free: 3.457 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.0003195/0.132, allocations: 380.2 kB / 0.6599 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1321, allocations: 8.031 kB / 0.6599 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1322, allocations: 29.11 kB / 0.6599 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.319e-05/0.1323, allocations: 104.6 kB / 0.66 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1323, allocations: 4.375 kB / 0.6601 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1323, allocations: 12.34 kB / 0.6601 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1324, allocations: 126.7 kB / 0.6602 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1324, allocations: 3.938 kB / 0.6602 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1324, allocations: 4 kB / 0.6602 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1324, allocations: 4 kB / 0.6602 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.1325, allocations: 11.92 kB / 0.6602 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.1326, allocations: 109.2 kB / 0.6603 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.879e-05/0.1326, allocations: 51.11 kB / 0.6604 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.1327, allocations: 11.69 kB / 0.6604 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-06/0.1327, allocations: 4 kB / 0.6604 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1327, allocations: 37.33 kB / 0.6604 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.1327, allocations: 4 kB / 0.6604 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004506/0.1331, allocations: 297.5 kB / 0.6607 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.1332, allocations: 55.41 kB / 0.6607 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.675e-05/0.1332, allocations: 149.9 kB / 0.6609 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1332, allocations: 25.7 kB / 0.6609 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.1333, allocations: 126.9 kB / 0.661 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1333, allocations: 47.62 kB / 0.6611 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.1333, allocations: 35.36 kB / 0.6611 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1334, allocations: 0.4885 MB / 0.6616 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.1335, allocations: 11.98 kB / 0.6616 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.1335, allocations: 47.28 kB / 0.6617 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.1335, allocations: 47.36 kB / 0.6617 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1335, allocations: 0 / 0.6617 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.127e-05/0.1336, allocations: 89.45 kB / 0.6618 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1336, allocations: 4 kB / 0.6618 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1336, allocations: 0 / 0.6618 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1337, allocations: 4 kB / 0.6618 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.1337, allocations: 19.98 kB / 0.6618 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.1337, allocations: 0 / 0.6618 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.1337, allocations: 12 kB / 0.6618 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.1337, allocations: 0 / 0.6618 GB, free: 0.875 MB / 0.6198 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.979e-05/0.1338, allocations: 168.5 kB / 0.662 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.1338, allocations: 7.938 kB / 0.662 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.1339, allocations: 15.95 kB / 0.662 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1339, allocations: 4 kB / 0.662 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1339, allocations: 0 / 0.662 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1339, allocations: 0 / 0.662 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.514e-05/0.1339, allocations: 101.3 kB / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1339, allocations: 0 / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.134, allocations: 23.98 kB / 0.6621 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.134, allocations: 4 kB / 0.6621 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.134, allocations: 3.938 kB / 0.6621 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.134, allocations: 0 / 0.6621 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.134, allocations: 0 / 0.6621 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.1342, allocations: 140.2 kB / 0.6623 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.1342, allocations: 0 / 0.6623 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1342, allocations: 7.938 kB / 0.6623 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.1342, allocations: 4 kB / 0.6623 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.1343, allocations: 7.984 kB / 0.6623 GB, free: 340 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1343, allocations: 0 / 0.6623 GB, free: 340 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.1343, allocations: 131.2 kB / 0.6624 GB, free: 208 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-08/0.1343, allocations: 0 / 0.6624 GB, free: 208 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001236/0.1344, allocations: 16 kB / 0.6624 GB, free: 192 kB / 0.6198 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.881e-05/0.1345, allocations: 103.3 kB / 0.6625 GB, free: 80 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.1346, allocations: 52.05 kB / 0.6626 GB, free: 24 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1346, allocations: 0 / 0.6626 GB, free: 24 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.1346, allocations: 35.55 kB / 0.6626 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.1348, allocations: 28.38 kB / 0.6626 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.1353, allocations: 264.6 kB / 0.6629 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.1353, allocations: 67.2 kB / 0.663 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.1354, allocations: 8.734 kB / 0.663 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.1355, allocations: 94.19 kB / 0.6631 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.001e-06/0.1355, allocations: 0 / 0.6631 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.002492/0.138, allocations: 0.9356 MB / 0.664 GB, free: 14.58 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: 4.4111061822623014]