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.001088/0.001088, allocations: 69.89 kB / 20.65 MB, free: 3.852 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.001066/0.001066, allocations: 173 kB / 24.06 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.543 MB / 186.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-535:34: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-535:42: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.849/0.849, allocations: 154.9 MB / 415.9 MB, free: 292 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5218 GB, free: 1.602 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.605e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.005245/0.005271, allocations: 1.366 MB / 0.5232 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1359/0.1412, allocations: 141.2 MB / 0.6611 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.1412, allocations: 0 / 0.6611 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.1413, allocations: 7.938 kB / 0.6611 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1414, allocations: 15.84 kB / 0.6611 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009571/0.1423, allocations: 334.3 kB / 0.6615 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1425, allocations: 71.75 kB / 0.6615 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.1425, allocations: 0 / 0.6615 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.1425, allocations: 39.89 kB / 0.6616 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.1426, allocations: 35.83 kB / 0.6616 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1427, allocations: 4 kB / 0.6616 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006529/0.1433, allocations: 370.6 kB / 0.662 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.1434, allocations: 15.97 kB / 0.662 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.1434, allocations: 31.91 kB / 0.662 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.1437, allocations: 171.4 kB / 0.6622 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1437, allocations: 7.938 kB / 0.6622 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1437, allocations: 0 / 0.6622 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1437, allocations: 0 / 0.6622 GB, free: 1.566 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003851/0.1441, allocations: 412.3 kB / 0.6626 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1441, allocations: 8.031 kB / 0.6626 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.1444, allocations: 64.64 kB / 0.6626 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.373e-05/0.1445, allocations: 112.6 kB / 0.6627 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1445, allocations: 384 / 0.6627 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1445, allocations: 12.38 kB / 0.6628 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1447, allocations: 210 kB / 0.663 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1447, allocations: 0 / 0.663 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1447, allocations: 3.938 kB / 0.663 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1447, allocations: 0 / 0.663 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.1448, allocations: 27.97 kB / 0.663 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.1449, allocations: 117.2 kB / 0.6631 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.145, allocations: 78.58 kB / 0.6632 GB, free: 420 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.145, allocations: 31.7 kB / 0.6632 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1452, allocations: 23.98 kB / 0.6632 GB, free: 360 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1452, allocations: 37.39 kB / 0.6633 GB, free: 312 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1452, allocations: 0 / 0.6633 GB, free: 312 kB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0007994/0.146, allocations: 443.2 kB / 0.6637 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.146, allocations: 59.41 kB / 0.6637 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.1461, allocations: 161.9 kB / 0.6639 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1461, allocations: 25.7 kB / 0.6639 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.1461, allocations: 131.2 kB / 0.664 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.1462, allocations: 71.36 kB / 0.6641 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1462, allocations: 51.34 kB / 0.6642 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1464, allocations: 0.4884 MB / 0.6646 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.1464, allocations: 19.98 kB / 0.6647 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.1464, allocations: 61.91 kB / 0.6647 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.608e-05/0.1465, allocations: 98.64 kB / 0.6648 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1465, allocations: 3.938 kB / 0.6648 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001333/0.1467, allocations: 137.6 kB / 0.6649 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1467, allocations: 4 kB / 0.6649 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1467, allocations: 3.984 kB / 0.6649 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1467, allocations: 4 kB / 0.665 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1468, allocations: 35.98 kB / 0.665 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.1468, allocations: 0 / 0.665 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.1468, allocations: 8 kB / 0.665 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1468, allocations: 4 kB / 0.665 GB, free: 14.39 MB / 0.6355 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 7.56e-05/0.1469, allocations: 172.5 kB / 0.6652 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.1469, allocations: 11.95 kB / 0.6652 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.147, allocations: 24.45 kB / 0.6652 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.147, allocations: 0 / 0.6652 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.147, allocations: 4 kB / 0.6652 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.147, allocations: 3.984 kB / 0.6652 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.897e-05/0.1471, allocations: 113.2 kB / 0.6653 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1471, allocations: 0 / 0.6653 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1472, allocations: 43.92 kB / 0.6654 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1472, allocations: 3.938 kB / 0.6654 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1472, allocations: 4.125 kB / 0.6654 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1472, allocations: 0 / 0.6654 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1472, allocations: 3.984 kB / 0.6654 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.1474, allocations: 173.2 kB / 0.6655 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.1474, allocations: 23.81 kB / 0.6656 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1474, allocations: 4 kB / 0.6656 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.1475, allocations: 4 kB / 0.6656 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1475, allocations: 15.97 kB / 0.6656 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1475, allocations: 4 kB / 0.6656 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.1475, allocations: 127.2 kB / 0.6657 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1475, allocations: 0 / 0.6657 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001495/0.1477, allocations: 28 kB / 0.6657 GB, free: 13.57 MB / 0.6355 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.0001116/0.1478, allocations: 103.3 kB / 0.6658 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.1479, allocations: 79.58 kB / 0.6659 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1479, allocations: 0 / 0.6659 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.148, allocations: 69.81 kB / 0.666 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.1482, allocations: 27.97 kB / 0.666 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.1488, allocations: 406.6 kB / 0.6664 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.1488, allocations: 71.94 kB / 0.6665 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.7e-05/0.1489, allocations: 12.64 kB / 0.6665 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.149, allocations: 114.2 kB / 0.6666 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.149, allocations: 0 / 0.6666 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.003355/0.1523, allocations: 1.654 MB / 0.6682 GB, free: 11.03 MB / 0.6355 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.438060267828405]