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.0009396/0.0009396, allocations: 93.06 kB / 19.65 MB, free: 276 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.001004/0.001004, allocations: 169 kB / 23.02 MB, free: 1.543 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.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8063/0.8063, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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 179] 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.513e-06/1.513e-06, allocations: 0 / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.089e-05, allocations: 7.031 kB / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001694/0.001715, allocations: 1.302 MB / 0.5216 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1363/0.138, allocations: 142.8 MB / 0.661 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.138, allocations: 0 / 0.661 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.1381, allocations: 3.984 kB / 0.661 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.1381, allocations: 4 kB / 0.6611 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1386, allocations: 91.44 kB / 0.6611 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.941e-05/0.1387, allocations: 39.83 kB / 0.6612 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.1387, allocations: 4 kB / 0.6612 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.1388, allocations: 19.98 kB / 0.6612 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.1389, allocations: 19.91 kB / 0.6612 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1389, allocations: 0 / 0.6612 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.1391, allocations: 75.77 kB / 0.6613 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1392, allocations: 7.969 kB / 0.6613 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.1392, allocations: 12 kB / 0.6613 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1393, allocations: 79.67 kB / 0.6614 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1394, allocations: 0 / 0.6614 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1394, allocations: 0 / 0.6614 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1394, allocations: 0 / 0.6614 GB, free: 1.434 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.0004531/0.1398, allocations: 384.2 kB / 0.6618 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1399, allocations: 8.031 kB / 0.6618 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.1401, allocations: 25.11 kB / 0.6618 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.669e-05/0.1402, allocations: 112.6 kB / 0.6619 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1402, allocations: 4.375 kB / 0.6619 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1402, allocations: 4.375 kB / 0.6619 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1404, allocations: 130.7 kB / 0.662 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1404, allocations: 0 / 0.662 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1404, allocations: 4 kB / 0.662 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1404, allocations: 0 / 0.662 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.1404, allocations: 19.97 kB / 0.662 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1406, allocations: 120.6 kB / 0.6622 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.1407, allocations: 55.05 kB / 0.6622 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.1407, allocations: 11.69 kB / 0.6622 GB, free: 448 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1407, allocations: 4 kB / 0.6622 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1407, allocations: 49.25 kB / 0.6623 GB, free: 384 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1407, allocations: 3.938 kB / 0.6623 GB, free: 380 kB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006318/0.1414, allocations: 285.8 kB / 0.6626 GB, free: 56 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1415, allocations: 59.41 kB / 0.6626 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.1416, allocations: 149.9 kB / 0.6628 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1416, allocations: 29.7 kB / 0.6628 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.1416, allocations: 126.9 kB / 0.6629 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1417, allocations: 43.64 kB / 0.6629 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1417, allocations: 35.36 kB / 0.663 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1418, allocations: 496.1 kB / 0.6635 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.1419, allocations: 11.98 kB / 0.6635 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.1419, allocations: 47.3 kB / 0.6635 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.142, allocations: 51.38 kB / 0.6636 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.142, allocations: 4.125 kB / 0.6636 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001245/0.1421, allocations: 102 kB / 0.6637 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1421, allocations: 10.34 kB / 0.6637 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1421, allocations: 0 / 0.6637 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1421, allocations: 0 / 0.6637 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1422, allocations: 24 kB / 0.6637 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1422, allocations: 4.141 kB / 0.6637 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.1423, allocations: 3.938 kB / 0.6637 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.1423, allocations: 11.97 kB / 0.6637 GB, free: 14.79 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 7.531e-05/0.1423, allocations: 164.5 kB / 0.6639 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.1424, allocations: 15.94 kB / 0.6639 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.1424, allocations: 7.969 kB / 0.6639 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1424, allocations: 0 / 0.6639 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1424, allocations: 4 kB / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1424, allocations: 0 / 0.6639 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.429e-05/0.1425, allocations: 128.6 kB / 0.664 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1425, allocations: 0 / 0.664 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.1426, allocations: 19.94 kB / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1426, allocations: 0 / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1426, allocations: 7.984 kB / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1426, allocations: 0 / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1426, allocations: 4 kB / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1428, allocations: 136.2 kB / 0.6642 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1428, allocations: 15.88 kB / 0.6642 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1428, allocations: 0 / 0.6642 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.1429, allocations: 8 kB / 0.6642 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1429, allocations: 7.984 kB / 0.6642 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1429, allocations: 0 / 0.6642 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.1429, allocations: 123.2 kB / 0.6643 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1429, allocations: 0 / 0.6643 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001879/0.1431, allocations: 16 kB / 0.6643 GB, free: 14.08 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 9.039e-05/0.1432, allocations: 105.8 kB / 0.6644 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1433, allocations: 55.59 kB / 0.6645 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1433, allocations: 0 / 0.6645 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.1433, allocations: 37.69 kB / 0.6645 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1436, allocations: 23.92 kB / 0.6646 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.1442, allocations: 273.6 kB / 0.6648 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.1442, allocations: 59.34 kB / 0.6649 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.931e-05/0.1443, allocations: 12.72 kB / 0.6649 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.1443, allocations: 12.5 kB / 0.6649 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.1443, allocations: 4 kB / 0.6649 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.002867/0.1472, allocations: 0.8886 MB / 0.6658 GB, free: 12.59 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: 4.314711026381701]