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.001226/0.001226, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00113/0.00113, allocations: 181 kB / 23.36 MB, free: 1.129 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 0.9651/0.9651, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.8296/0.8296, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.523e-06/1.523e-06, allocations: 3.938 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.508e-05, allocations: 7.922 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001844/0.001869, allocations: 1.356 MB / 481.4 MB, free: 5.609 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1412/0.143, allocations: 142.2 MB / 0.609 GB, free: 7.262 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.1431, allocations: 0 / 0.609 GB, free: 7.262 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.1431, allocations: 7.984 kB / 0.609 GB, free: 7.254 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.1432, allocations: 7.938 kB / 0.609 GB, free: 7.246 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.1436, allocations: 87.5 kB / 0.6091 GB, free: 7.16 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.1437, allocations: 35.84 kB / 0.6091 GB, free: 7.125 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.1438, allocations: 8.734 kB / 0.6091 GB, free: 7.117 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.1438, allocations: 23.91 kB / 0.6091 GB, free: 7.094 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.1439, allocations: 11.98 kB / 0.6091 GB, free: 7.082 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1439, allocations: 4 kB / 0.6091 GB, free: 7.078 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1442, allocations: 79.77 kB / 0.6092 GB, free: 7 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.1442, allocations: 15.97 kB / 0.6092 GB, free: 6.984 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.1442, allocations: 11.94 kB / 0.6092 GB, free: 6.973 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1443, allocations: 75.73 kB / 0.6093 GB, free: 6.898 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1443, allocations: 0 / 0.6093 GB, free: 6.898 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1443, allocations: 0 / 0.6093 GB, free: 6.898 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1443, allocations: 0 / 0.6093 GB, free: 6.898 MB / 0.573 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.0002929/0.1446, allocations: 248.5 kB / 0.6096 GB, free: 6.633 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1447, allocations: 11.97 kB / 0.6096 GB, free: 6.621 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1448, allocations: 33.09 kB / 0.6096 GB, free: 6.59 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.1449, allocations: 113.8 kB / 0.6097 GB, free: 6.453 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1449, allocations: 384 / 0.6097 GB, free: 6.453 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1449, allocations: 4.375 kB / 0.6097 GB, free: 6.449 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.145, allocations: 134.7 kB / 0.6098 GB, free: 6.293 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1451, allocations: 0 / 0.6098 GB, free: 6.293 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1451, allocations: 4 kB / 0.6098 GB, free: 6.289 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1451, allocations: 0 / 0.6098 GB, free: 6.289 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.875e-05/0.1451, allocations: 15.98 kB / 0.6099 GB, free: 6.273 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.433e-05/0.1452, allocations: 61.05 kB / 0.6099 GB, free: 6.199 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.1453, allocations: 42.62 kB / 0.61 GB, free: 6.148 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.1453, allocations: 12.86 kB / 0.61 GB, free: 6.133 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-06/0.1453, allocations: 4 kB / 0.61 GB, free: 6.129 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1453, allocations: 34.55 kB / 0.61 GB, free: 6.086 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1453, allocations: 7.938 kB / 0.61 GB, free: 6.078 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0006024/0.1459, allocations: 317.1 kB / 0.6103 GB, free: 5.734 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.1459, allocations: 51.41 kB / 0.6104 GB, free: 5.672 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.146, allocations: 98.72 kB / 0.6105 GB, free: 5.562 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.146, allocations: 33.64 kB / 0.6105 GB, free: 5.523 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.029e-05/0.146, allocations: 80.14 kB / 0.6106 GB, free: 5.441 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1461, allocations: 43.62 kB / 0.6106 GB, free: 5.398 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1461, allocations: 33.69 kB / 0.6106 GB, free: 5.359 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.1462, allocations: 311 kB / 0.6109 GB, free: 5.047 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.1462, allocations: 16 kB / 0.611 GB, free: 5.031 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.1462, allocations: 33.62 kB / 0.611 GB, free: 4.992 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.1462, allocations: 41.67 kB / 0.611 GB, free: 4.945 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1462, allocations: 0 / 0.611 GB, free: 4.945 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.257e-05/0.1463, allocations: 74.17 kB / 0.6111 GB, free: 4.867 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1463, allocations: 4 kB / 0.6111 GB, free: 4.863 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1463, allocations: 0 / 0.6111 GB, free: 4.863 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1464, allocations: 0 / 0.6111 GB, free: 4.863 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.1464, allocations: 23.98 kB / 0.6111 GB, free: 4.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.1464, allocations: 4 kB / 0.6111 GB, free: 4.836 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.1465, allocations: 8 kB / 0.6111 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.1465, allocations: 0 / 0.6111 GB, free: 4.828 MB / 0.573 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 5.774e-05/0.1465, allocations: 117.8 kB / 0.6112 GB, free: 4.703 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1465, allocations: 7.938 kB / 0.6113 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.1466, allocations: 11.97 kB / 0.6113 GB, free: 4.688 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1466, allocations: 7.984 kB / 0.6113 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1466, allocations: 0 / 0.6113 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1466, allocations: 0 / 0.6113 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.559e-05/0.1466, allocations: 77.89 kB / 0.6113 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1466, allocations: 0 / 0.6113 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.1467, allocations: 23.98 kB / 0.6114 GB, free: 4.562 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1467, allocations: 4 kB / 0.6114 GB, free: 4.559 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1467, allocations: 0 / 0.6114 GB, free: 4.559 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1467, allocations: 3.938 kB / 0.6114 GB, free: 4.555 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1467, allocations: 0 / 0.6114 GB, free: 4.555 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.1468, allocations: 116.9 kB / 0.6115 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.1471, allocations: 11.98 kB / 0.6115 GB, free: 4.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.1471, allocations: 4 kB / 0.6115 GB, free: 4.406 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.1471, allocations: 7.938 kB / 0.6115 GB, free: 4.398 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.1472, allocations: 7.984 kB / 0.6115 GB, free: 4.391 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1472, allocations: 0 / 0.6115 GB, free: 4.391 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.719e-06/0.1472, allocations: 12.86 kB / 0.6115 GB, free: 4.375 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1472, allocations: 0 / 0.6115 GB, free: 4.375 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001154/0.1473, allocations: 16 kB / 0.6115 GB, free: 4.359 MB / 0.573 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 7.998e-05/0.1474, allocations: 80.42 kB / 0.6116 GB, free: 4.27 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.3e-05/0.1474, allocations: 48.83 kB / 0.6117 GB, free: 4.219 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1474, allocations: 7.938 kB / 0.6117 GB, free: 4.211 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.1475, allocations: 24.78 kB / 0.6117 GB, free: 4.184 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.1476, allocations: 30.92 kB / 0.6117 GB, free: 4.156 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.148, allocations: 218.5 kB / 0.6119 GB, free: 3.918 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.926e-05/0.1481, allocations: 59.34 kB / 0.612 GB, free: 3.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.1481, allocations: 12.72 kB / 0.612 GB, free: 3.828 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.1482, allocations: 75.36 kB / 0.6121 GB, free: 3.754 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/0.1482, allocations: 0 / 0.6121 GB, free: 3.754 MB / 0.573 GB Notification: Performance of Templates: time 0.002394/0.1506, allocations: 0.9371 MB / 0.613 GB, free: 2.844 MB / 0.573 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7955883466638625]