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.00113/0.00113, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009371/0.0009371, allocations: 173 kB / 23.49 MB, free: 1.059 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.8005/0.8005, allocations: 154.8 MB / 415.1 MB, free: 500 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.784e-06/1.784e-06, allocations: 0 / 0.5205 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.079e-05, allocations: 8.5 kB / 0.5205 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001911/0.001942, allocations: 1.362 MB / 0.5219 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1502/0.1521, allocations: 143.7 MB / 0.6622 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.1522, allocations: 0 / 0.6622 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.1522, allocations: 0 / 0.6622 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1524, allocations: 23.78 kB / 0.6622 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008361/0.1532, allocations: 334.3 kB / 0.6625 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.1533, allocations: 67.75 kB / 0.6626 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.1533, allocations: 4 kB / 0.6626 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.1534, allocations: 39.89 kB / 0.6626 GB, free: 488 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.1535, allocations: 27.95 kB / 0.6626 GB, free: 460 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1535, allocations: 0 / 0.6626 GB, free: 460 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.154, allocations: 382.5 kB / 0.663 GB, free: 76 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1541, allocations: 19.97 kB / 0.663 GB, free: 56 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.1541, allocations: 19.97 kB / 0.663 GB, free: 36 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1544, allocations: 171.6 kB / 0.6632 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1544, allocations: 4 kB / 0.6632 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1544, allocations: 0 / 0.6632 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1544, allocations: 0 / 0.6632 GB, free: 15.86 MB / 0.6355 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.0003829/0.1548, allocations: 416.2 kB / 0.6636 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1548, allocations: 16.03 kB / 0.6636 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.1552, allocations: 52.66 kB / 0.6637 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.034e-05/0.1553, allocations: 120.5 kB / 0.6638 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1553, allocations: 4.375 kB / 0.6638 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1553, allocations: 12.38 kB / 0.6638 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1555, allocations: 198.1 kB / 0.664 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.1555, allocations: 4 kB / 0.664 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1555, allocations: 4 kB / 0.664 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1555, allocations: 0 / 0.664 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.1556, allocations: 35.89 kB / 0.664 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1557, allocations: 140.5 kB / 0.6642 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1558, allocations: 83.16 kB / 0.6643 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.1559, allocations: 27.67 kB / 0.6643 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.156, allocations: 23.98 kB / 0.6643 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.156, allocations: 45.31 kB / 0.6643 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.156, allocations: 0 / 0.6643 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008822/0.1569, allocations: 458.1 kB / 0.6648 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.157, allocations: 59.34 kB / 0.6648 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.157, allocations: 157.9 kB / 0.665 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.157, allocations: 33.7 kB / 0.665 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.1571, allocations: 127.2 kB / 0.6651 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.1571, allocations: 67.39 kB / 0.6652 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1572, allocations: 51.48 kB / 0.6653 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1573, allocations: 0.4961 MB / 0.6657 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.1573, allocations: 19.98 kB / 0.6658 GB, free: 13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.1574, allocations: 73.97 kB / 0.6658 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1575, allocations: 106.7 kB / 0.6659 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1575, allocations: 0 / 0.6659 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001412/0.1576, allocations: 137.5 kB / 0.6661 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1576, allocations: 4 kB / 0.6661 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1576, allocations: 0 / 0.6661 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1576, allocations: 4 kB / 0.6661 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1577, allocations: 43.92 kB / 0.6661 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1577, allocations: 4 kB / 0.6661 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.1578, allocations: 8 kB / 0.6661 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1578, allocations: 4 kB / 0.6661 GB, free: 12.59 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 6.952e-05/0.1579, allocations: 172.5 kB / 0.6663 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.1579, allocations: 11.95 kB / 0.6663 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.1579, allocations: 16.47 kB / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1579, allocations: 7.984 kB / 0.6663 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1579, allocations: 3.938 kB / 0.6663 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1579, allocations: 0 / 0.6663 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.574e-05/0.158, allocations: 140.5 kB / 0.6665 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.158, allocations: 7.984 kB / 0.6665 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1581, allocations: 39.92 kB / 0.6665 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1581, allocations: 0 / 0.6665 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1581, allocations: 8 kB / 0.6665 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.1581, allocations: 0 / 0.6665 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1581, allocations: 0 / 0.6665 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1583, allocations: 182.1 kB / 0.6667 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1584, allocations: 15.94 kB / 0.6667 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1584, allocations: 4 kB / 0.6667 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.1584, allocations: 12.17 kB / 0.6667 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.1584, allocations: 11.98 kB / 0.6667 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1584, allocations: 8 kB / 0.6667 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.1585, allocations: 123.2 kB / 0.6669 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1585, allocations: 0 / 0.6669 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001885/0.1587, allocations: 31.98 kB / 0.6669 GB, free: 11.74 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.0001068/0.1588, allocations: 107.2 kB / 0.667 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.1589, allocations: 87.53 kB / 0.6671 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1589, allocations: 8.094 kB / 0.6671 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.159, allocations: 58.34 kB / 0.6671 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1591, allocations: 34.48 kB / 0.6672 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.1598, allocations: 410.5 kB / 0.6676 GB, free: 11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.594e-05/0.1599, allocations: 68.08 kB / 0.6676 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.007e-05/0.1599, allocations: 28.61 kB / 0.6677 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.16, allocations: 20.5 kB / 0.6677 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/0.16, allocations: 0 / 0.6677 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.00305/0.163, allocations: 1.408 MB / 0.6691 GB, free: 9.5 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.406627474119887]