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.001419/0.001419, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001043/0.001043, allocations: 169.7 kB / 23.27 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.051/1.051, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.8197/0.8197, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.483e-06/1.483e-06, allocations: 0 / 0.5207 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.462e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001773/0.001798, allocations: 1.317 MB / 0.522 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1469/0.1486, allocations: 140.1 MB / 0.6588 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.1487, allocations: 0 / 0.6588 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.1487, allocations: 0 / 0.6588 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.1488, allocations: 11.86 kB / 0.6589 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.1492, allocations: 99.48 kB / 0.659 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.1493, allocations: 31.86 kB / 0.659 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.1493, allocations: 0 / 0.659 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.1494, allocations: 23.97 kB / 0.659 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.1495, allocations: 7.984 kB / 0.659 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1495, allocations: 4 kB / 0.659 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.1497, allocations: 87.62 kB / 0.6591 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1497, allocations: 7.984 kB / 0.6591 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.1497, allocations: 8 kB / 0.6591 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.1499, allocations: 71.73 kB / 0.6592 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1499, allocations: 4 kB / 0.6592 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1499, allocations: 4 kB / 0.6592 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1499, allocations: 0 / 0.6592 GB, free: 3.805 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.0003971/0.1503, allocations: 376.2 kB / 0.6596 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.1504, allocations: 12.03 kB / 0.6596 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.1505, allocations: 25.09 kB / 0.6596 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.1506, allocations: 112.6 kB / 0.6597 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1506, allocations: 4.375 kB / 0.6597 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1506, allocations: 4.375 kB / 0.6597 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1508, allocations: 138.7 kB / 0.6598 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1508, allocations: 0 / 0.6598 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1508, allocations: 0 / 0.6598 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1508, allocations: 0 / 0.6598 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.2e-05/0.1508, allocations: 11.98 kB / 0.6598 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.151, allocations: 105.2 kB / 0.6599 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.805e-05/0.1511, allocations: 59.03 kB / 0.66 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.1511, allocations: 19.67 kB / 0.66 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.1511, allocations: 4 kB / 0.66 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1511, allocations: 37.39 kB / 0.6601 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1511, allocations: 0 / 0.6601 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005989/0.1517, allocations: 289.6 kB / 0.6603 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1518, allocations: 55.34 kB / 0.6604 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.1518, allocations: 157.9 kB / 0.6605 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1518, allocations: 29.7 kB / 0.6606 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.1519, allocations: 126.9 kB / 0.6607 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.1519, allocations: 39.64 kB / 0.6607 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.152, allocations: 31.36 kB / 0.6608 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1521, allocations: 0.4884 MB / 0.6612 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.1521, allocations: 16.11 kB / 0.6612 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.1522, allocations: 39.34 kB / 0.6613 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.1522, allocations: 47.34 kB / 0.6613 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1522, allocations: 0 / 0.6613 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001146/0.1523, allocations: 86.14 kB / 0.6614 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1524, allocations: 8 kB / 0.6614 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1524, allocations: 0 / 0.6614 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1524, allocations: 0 / 0.6614 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.1525, allocations: 31.92 kB / 0.6615 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1525, allocations: 0 / 0.6615 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.1525, allocations: 3.984 kB / 0.6615 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1525, allocations: 8 kB / 0.6615 GB, free: 1.219 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 7.956e-05/0.1526, allocations: 160.6 kB / 0.6616 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1526, allocations: 11.94 kB / 0.6616 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.1526, allocations: 7.969 kB / 0.6616 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1526, allocations: 0 / 0.6616 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1526, allocations: 0 / 0.6616 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1526, allocations: 4 kB / 0.6616 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/0.1527, allocations: 109.2 kB / 0.6617 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1527, allocations: 4 kB / 0.6617 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.1528, allocations: 27.92 kB / 0.6618 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1528, allocations: 4 kB / 0.6618 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1528, allocations: 7.938 kB / 0.6618 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1528, allocations: 80 / 0.6618 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.1528, allocations: 3.984 kB / 0.6618 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.153, allocations: 120.4 kB / 0.6619 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.153, allocations: 7.984 kB / 0.6619 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.153, allocations: 7.938 kB / 0.6619 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.1531, allocations: 4 kB / 0.6619 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.1531, allocations: 3.984 kB / 0.6619 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1531, allocations: 11.94 kB / 0.6619 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.1531, allocations: 123.2 kB / 0.6621 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1531, allocations: 0 / 0.6621 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001808/0.1533, allocations: 20 kB / 0.6621 GB, free: 0.5352 MB / 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 0.0001024/0.1534, allocations: 99.19 kB / 0.6622 GB, free: 440 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1535, allocations: 53.78 kB / 0.6622 GB, free: 384 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1535, allocations: 0 / 0.6622 GB, free: 384 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.1536, allocations: 31.66 kB / 0.6623 GB, free: 348 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.1538, allocations: 24.08 kB / 0.6623 GB, free: 324 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.1544, allocations: 273.6 kB / 0.6625 GB, free: 20 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.1544, allocations: 63.36 kB / 0.6626 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.1545, allocations: 12.72 kB / 0.6626 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.1546, allocations: 90.19 kB / 0.6627 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.1546, allocations: 0 / 0.6627 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.003004/0.1576, allocations: 0.9426 MB / 0.6636 GB, free: 14.93 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.205356439109892]