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.001434/0.001434, allocations: 92.22 kB / 19.65 MB, free: 276 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.001691/0.001691, allocations: 169 kB / 23.02 MB, free: 1.551 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8187/0.8187, allocations: 154.8 MB / 414.7 MB, free: 472 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 9.72e-07/9.72e-07, allocations: 0 / 0.5205 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.323e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001545/0.001558, allocations: 1.367 MB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1406/0.1421, allocations: 143.9 MB / 0.6624 GB, free: 344 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.1422, allocations: 0 / 0.6624 GB, free: 344 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.1422, allocations: 7.922 kB / 0.6624 GB, free: 336 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.1423, allocations: 15.86 kB / 0.6625 GB, free: 320 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.1431, allocations: 342.2 kB / 0.6628 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.568e-05/0.1432, allocations: 63.77 kB / 0.6628 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.1433, allocations: 0 / 0.6628 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.596e-05/0.1433, allocations: 47.88 kB / 0.6629 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.1434, allocations: 27.95 kB / 0.6629 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1434, allocations: 4 kB / 0.6629 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005508/0.144, allocations: 382.5 kB / 0.6633 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.144, allocations: 11.98 kB / 0.6633 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.1441, allocations: 27.91 kB / 0.6633 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1443, allocations: 171.4 kB / 0.6635 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1444, allocations: 0 / 0.6635 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1444, allocations: 0 / 0.6635 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1444, allocations: 0 / 0.6635 GB, free: 15.25 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.000386/0.1447, allocations: 420.2 kB / 0.6639 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1448, allocations: 8.031 kB / 0.6639 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.1451, allocations: 60.66 kB / 0.6639 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.065e-05/0.1452, allocations: 112.6 kB / 0.6641 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1452, allocations: 4.375 kB / 0.6641 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1452, allocations: 16.31 kB / 0.6641 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1454, allocations: 200.6 kB / 0.6643 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1454, allocations: 0 / 0.6643 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1454, allocations: 7.938 kB / 0.6643 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1454, allocations: 4 kB / 0.6643 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.1455, allocations: 35.95 kB / 0.6643 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.1456, allocations: 132.6 kB / 0.6644 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.1457, allocations: 87.11 kB / 0.6645 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.1458, allocations: 27.67 kB / 0.6645 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.1459, allocations: 19.98 kB / 0.6646 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1459, allocations: 45.33 kB / 0.6646 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1459, allocations: 0 / 0.6646 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008587/0.1468, allocations: 461.6 kB / 0.665 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1468, allocations: 51.41 kB / 0.6651 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.1469, allocations: 157.9 kB / 0.6652 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1469, allocations: 29.7 kB / 0.6653 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.1469, allocations: 131.4 kB / 0.6654 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.147, allocations: 75.38 kB / 0.6655 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.147, allocations: 43.36 kB / 0.6655 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1471, allocations: 0.4922 MB / 0.666 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.1471, allocations: 23.98 kB / 0.666 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.1472, allocations: 69.97 kB / 0.6661 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.783e-05/0.1473, allocations: 110.6 kB / 0.6662 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.1473, allocations: 4 kB / 0.6662 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001469/0.1474, allocations: 133.5 kB / 0.6663 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1475, allocations: 8.938 kB / 0.6663 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1475, allocations: 0 / 0.6663 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1475, allocations: 11.94 kB / 0.6663 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1476, allocations: 35.92 kB / 0.6664 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.1476, allocations: 4 kB / 0.6664 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.1476, allocations: 4 kB / 0.6664 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1476, allocations: 15.98 kB / 0.6664 GB, free: 11.98 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.583e-05/0.1477, allocations: 164.5 kB / 0.6666 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.1477, allocations: 19.89 kB / 0.6666 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.1478, allocations: 20.45 kB / 0.6666 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1478, allocations: 4 kB / 0.6666 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1478, allocations: 0 / 0.6666 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1478, allocations: 4 kB / 0.6666 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.1479, allocations: 140.5 kB / 0.6667 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1479, allocations: 0 / 0.6667 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.148, allocations: 40.11 kB / 0.6668 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.148, allocations: 4 kB / 0.6668 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.148, allocations: 0 / 0.6668 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.148, allocations: 4 kB / 0.6668 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.148, allocations: 0 / 0.6668 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1482, allocations: 190.1 kB / 0.667 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.1482, allocations: 15.94 kB / 0.667 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1483, allocations: 8 kB / 0.667 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.1483, allocations: 8 kB / 0.667 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1483, allocations: 11.97 kB / 0.667 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1483, allocations: 8 kB / 0.667 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.1484, allocations: 119.2 kB / 0.6671 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.1484, allocations: 0 / 0.6671 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000152/0.1485, allocations: 32 kB / 0.6672 GB, free: 11.14 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.000111/0.1486, allocations: 103.3 kB / 0.6673 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1488, allocations: 95.53 kB / 0.6673 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1488, allocations: 0 / 0.6673 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.1488, allocations: 55.59 kB / 0.6674 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.149, allocations: 31.91 kB / 0.6674 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007914/0.1498, allocations: 416.8 kB / 0.6678 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.1499, allocations: 68.08 kB / 0.6679 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.757e-05/0.1499, allocations: 20.64 kB / 0.6679 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.15, allocations: 16.5 kB / 0.6679 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.15, allocations: 3.938 kB / 0.6679 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of Templates: time 0.003065/0.153, allocations: 1.423 MB / 0.6693 GB, free: 8.891 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.531534185633063]