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.001048/0.001048, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0009508/0.0009508, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.082/1.082, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.7825/0.7825, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.563e-06/1.563e-06, allocations: 0 / 0.5215 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.709e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001709/0.001726, allocations: 1.31 MB / 0.5228 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1429/0.1447, allocations: 140.1 MB / 0.6596 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.1447, allocations: 0 / 0.6596 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1447, allocations: 0 / 0.6596 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.1448, allocations: 11.86 kB / 0.6596 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1451, allocations: 99.48 kB / 0.6597 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.1452, allocations: 31.86 kB / 0.6597 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1452, allocations: 4 kB / 0.6597 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.1453, allocations: 19.97 kB / 0.6598 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.1454, allocations: 15.98 kB / 0.6598 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1454, allocations: 0 / 0.6598 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.1456, allocations: 83.69 kB / 0.6599 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1456, allocations: 7.922 kB / 0.6599 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.1456, allocations: 16 kB / 0.6599 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1458, allocations: 71.8 kB / 0.66 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1458, allocations: 0 / 0.66 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.1458, allocations: 3.984 kB / 0.66 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1458, allocations: 3.938 kB / 0.66 GB, free: 3.812 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.0003753/0.1461, allocations: 372.2 kB / 0.6603 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1462, allocations: 8.031 kB / 0.6603 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.1463, allocations: 33.09 kB / 0.6604 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.799e-05/0.1464, allocations: 104.6 kB / 0.6605 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1464, allocations: 4.375 kB / 0.6605 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1465, allocations: 20.3 kB / 0.6605 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1466, allocations: 126.7 kB / 0.6606 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1466, allocations: 0 / 0.6606 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1466, allocations: 4 kB / 0.6606 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1466, allocations: 0 / 0.6606 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.1466, allocations: 11.98 kB / 0.6606 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.1467, allocations: 105.2 kB / 0.6607 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.1468, allocations: 55.05 kB / 0.6608 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.1468, allocations: 15.67 kB / 0.6608 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.1468, allocations: 4 kB / 0.6608 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1469, allocations: 37.39 kB / 0.6608 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1469, allocations: 0 / 0.6608 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004943/0.1474, allocations: 292.9 kB / 0.6611 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.1474, allocations: 51.41 kB / 0.6611 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.1475, allocations: 157.9 kB / 0.6613 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1475, allocations: 29.64 kB / 0.6613 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.1475, allocations: 130.9 kB / 0.6615 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1475, allocations: 39.64 kB / 0.6615 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1476, allocations: 43.47 kB / 0.6615 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1477, allocations: 492.1 kB / 0.662 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.1477, allocations: 11.98 kB / 0.662 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.1477, allocations: 39.34 kB / 0.662 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.1478, allocations: 51.34 kB / 0.6621 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1478, allocations: 0 / 0.6621 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.436e-05/0.1479, allocations: 90.12 kB / 0.6622 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1479, allocations: 5.719 kB / 0.6622 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1479, allocations: 0 / 0.6622 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-06/0.1479, allocations: 0 / 0.6622 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.1479, allocations: 27.92 kB / 0.6622 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.148, allocations: 4 kB / 0.6622 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.148, allocations: 8 kB / 0.6622 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.148, allocations: 0 / 0.6622 GB, free: 1.234 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.459e-05/0.1481, allocations: 164.6 kB / 0.6624 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.1481, allocations: 7.938 kB / 0.6624 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.1481, allocations: 11.97 kB / 0.6624 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1481, allocations: 4 kB / 0.6624 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1481, allocations: 0 / 0.6624 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1481, allocations: 0 / 0.6624 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.539e-05/0.1482, allocations: 105.2 kB / 0.6625 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1482, allocations: 4 kB / 0.6625 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.1482, allocations: 23.92 kB / 0.6625 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1482, allocations: 11.92 kB / 0.6625 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1483, allocations: 11.94 kB / 0.6626 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.1483, allocations: 0 / 0.6626 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1483, allocations: 0 / 0.6626 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.1484, allocations: 120.4 kB / 0.6627 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.1484, allocations: 7.984 kB / 0.6627 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1484, allocations: 7.938 kB / 0.6627 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.1485, allocations: 4 kB / 0.6627 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1485, allocations: 11.98 kB / 0.6627 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1485, allocations: 0 / 0.6627 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.1485, allocations: 119.2 kB / 0.6628 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1485, allocations: 4 kB / 0.6628 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001253/0.1486, allocations: 19.94 kB / 0.6628 GB, free: 0.5508 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 9.461e-05/0.1487, allocations: 103.2 kB / 0.6629 GB, free: 452 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.675e-05/0.1488, allocations: 43.66 kB / 0.663 GB, free: 404 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1488, allocations: 0 / 0.663 GB, free: 404 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.1488, allocations: 35.59 kB / 0.663 GB, free: 364 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.149, allocations: 29.73 kB / 0.663 GB, free: 336 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.1496, allocations: 277.6 kB / 0.6633 GB, free: 28 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.246e-05/0.1496, allocations: 59.36 kB / 0.6634 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.1497, allocations: 12.72 kB / 0.6634 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.1497, allocations: 94.19 kB / 0.6635 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.1497, allocations: 0 / 0.6635 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.002357/0.1521, allocations: 0.9552 MB / 0.6644 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.421349959913641]