Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.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.0008206/0.0008206, allocations: 96.36 kB / 19.7 MB, free: 452 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.0008379/0.0008379, allocations: 216.7 kB / 23 MB, free: 2.977 MB / 13.93 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.8865/0.8865, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.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-531:190: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-531:198: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.7407/0.7407, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009872/0.0009872, allocations: 67.17 kB / 0.7194 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5139, allocations: 102 MB / 0.819 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001557/0.5155, allocations: 1.324 MB / 0.8203 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1228/0.6382, allocations: 130.1 MB / 0.9473 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.6383, allocations: 0 / 0.9473 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.6383, allocations: 7.922 kB / 0.9473 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.6384, allocations: 19.91 kB / 0.9473 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.6392, allocations: 326.6 kB / 0.9476 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.6393, allocations: 63.77 kB / 0.9477 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.6394, allocations: 11.64 kB / 0.9477 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.6394, allocations: 27.97 kB / 0.9477 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.6395, allocations: 43.77 kB / 0.9478 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.6395, allocations: 4 kB / 0.9478 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005073/0.64, allocations: 366.8 kB / 0.9481 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.6401, allocations: 11.98 kB / 0.9481 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.6401, allocations: 27.91 kB / 0.9482 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.6403, allocations: 154.7 kB / 0.9483 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6404, allocations: 0 / 0.9483 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6404, allocations: 0 / 0.9483 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.6404, allocations: 0 / 0.9483 GB, free: 0.7773 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003714/0.6407, allocations: 310 kB / 0.9486 GB, free: 456 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.6408, allocations: 12.03 kB / 0.9486 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.641, allocations: 40.83 kB / 0.9487 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.1e-05/0.6411, allocations: 118.4 kB / 0.9488 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.6411, allocations: 3.938 kB / 0.9488 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.6412, allocations: 15.95 kB / 0.9488 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.6413, allocations: 212.7 kB / 0.949 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6414, allocations: 0 / 0.949 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.6414, allocations: 0 / 0.949 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6414, allocations: 7.984 kB / 0.949 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.6414, allocations: 47.95 kB / 0.949 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.6416, allocations: 121.3 kB / 0.9492 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.6417, allocations: 90.56 kB / 0.9492 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.6417, allocations: 28.84 kB / 0.9493 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.6419, allocations: 23.92 kB / 0.9493 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.6419, allocations: 38.56 kB / 0.9493 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 8.71e-07/0.6419, allocations: 0 / 0.9493 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0009551/0.6428, allocations: 493.3 kB / 0.9498 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.6429, allocations: 51.41 kB / 0.9499 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.6429, allocations: 97.86 kB / 0.9499 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.6429, allocations: 33.7 kB / 0.95 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.643, allocations: 80.52 kB / 0.9501 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.643, allocations: 75.44 kB / 0.9501 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.643, allocations: 41.72 kB / 0.9502 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.6431, allocations: 326.8 kB / 0.9505 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.099e-05/0.6431, allocations: 31.98 kB / 0.9505 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.6432, allocations: 72.81 kB / 0.9506 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.6433, allocations: 119.3 kB / 0.9507 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6433, allocations: 0 / 0.9507 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001426/0.6435, allocations: 153.5 kB / 0.9508 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.6435, allocations: 4 kB / 0.9508 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6435, allocations: 4.156 kB / 0.9508 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6435, allocations: 3.938 kB / 0.9508 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.6436, allocations: 39.98 kB / 0.9509 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6436, allocations: 7.984 kB / 0.9509 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.6436, allocations: 4 kB / 0.9509 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.6436, allocations: 7.938 kB / 0.9509 GB, free: 13.87 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.188e-05/0.6437, allocations: 126.4 kB / 0.951 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.6437, allocations: 7.953 kB / 0.951 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.6437, allocations: 20.45 kB / 0.9511 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6437, allocations: 4 kB / 0.9511 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6437, allocations: 0 / 0.9511 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6437, allocations: 0 / 0.9511 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.563e-05/0.6438, allocations: 137.2 kB / 0.9512 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.6438, allocations: 0 / 0.9512 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6439, allocations: 39.92 kB / 0.9512 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6439, allocations: 0 / 0.9512 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6439, allocations: 4 kB / 0.9512 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6439, allocations: 4 kB / 0.9512 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6439, allocations: 0 / 0.9512 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.6442, allocations: 214.9 kB / 0.9514 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.6442, allocations: 11.98 kB / 0.9514 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6442, allocations: 4.062 kB / 0.9515 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.6443, allocations: 4 kB / 0.9515 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.6443, allocations: 24.17 kB / 0.9515 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.6443, allocations: 4 kB / 0.9515 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.122e-05/0.6443, allocations: 87.16 kB / 0.9516 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6443, allocations: 0 / 0.9516 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001425/0.6445, allocations: 31.94 kB / 0.9516 GB, free: 13.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001031/0.6446, allocations: 111.2 kB / 0.9517 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.6447, allocations: 95.98 kB / 0.9518 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6447, allocations: 4 kB / 0.9518 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.6447, allocations: 51.91 kB / 0.9518 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.6449, allocations: 12 kB / 0.9519 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.6455, allocations: 0.5387 MB / 0.9524 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.09e-05/0.6455, allocations: 91.98 kB / 0.9525 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.6456, allocations: 15.44 kB / 0.9525 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.6456, allocations: 0 / 0.9525 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.00193/0.6475, allocations: 1.327 MB / 0.9538 GB, free: 10.8 MB / 0.7292 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.742948286700994] Failed to read output from testmodel.py, exit status != 0: 0.6528989835642278 0.660596924 0.018535346 Calling exit ...