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.00104/0.00104, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009364/0.0009364, allocations: 173.3 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 0.9336/0.9336, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7862/0.7862, allocations: 154.9 MB / 414.8 MB, free: 412 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.724e-06/1.724e-06, allocations: 0.6562 kB / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.68e-05, allocations: 8.375 kB / 0.5206 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.005161/0.005187, allocations: 1.373 MB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1356/0.1408, allocations: 144 MB / 0.6626 GB, free: 204 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.1408, allocations: 4 kB / 0.6626 GB, free: 200 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.643e-05/0.1409, allocations: 3.984 kB / 0.6626 GB, free: 196 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.141, allocations: 23.78 kB / 0.6626 GB, free: 172 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1421, allocations: 334.3 kB / 0.6629 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1422, allocations: 59.77 kB / 0.663 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1423, allocations: 11.98 kB / 0.663 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.1423, allocations: 35.95 kB / 0.663 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.1424, allocations: 31.89 kB / 0.663 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1424, allocations: 0 / 0.663 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.143, allocations: 374.6 kB / 0.6634 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.1431, allocations: 23.91 kB / 0.6634 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1432, allocations: 15.98 kB / 0.6634 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1434, allocations: 171.4 kB / 0.6636 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1434, allocations: 7.984 kB / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1434, allocations: 0 / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1435, allocations: 0 / 0.6636 GB, free: 15.12 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.0004039/0.1439, allocations: 416.2 kB / 0.664 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1439, allocations: 12.03 kB / 0.664 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.1442, allocations: 56.66 kB / 0.6641 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.834e-05/0.1443, allocations: 116.5 kB / 0.6642 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1443, allocations: 8.375 kB / 0.6642 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1444, allocations: 16.38 kB / 0.6642 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1445, allocations: 202.1 kB / 0.6644 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1445, allocations: 0 / 0.6644 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1445, allocations: 0 / 0.6644 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1445, allocations: 0 / 0.6644 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.398e-05/0.1446, allocations: 31.97 kB / 0.6644 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1447, allocations: 140.5 kB / 0.6646 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1449, allocations: 79.14 kB / 0.6646 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.1449, allocations: 27.77 kB / 0.6647 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.1451, allocations: 23.98 kB / 0.6647 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1451, allocations: 45.33 kB / 0.6647 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1451, allocations: 0 / 0.6647 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008636/0.1459, allocations: 459.2 kB / 0.6652 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.146, allocations: 59.41 kB / 0.6652 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.146, allocations: 161.9 kB / 0.6654 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1461, allocations: 33.7 kB / 0.6654 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.1461, allocations: 127.2 kB / 0.6655 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.1462, allocations: 67.39 kB / 0.6656 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1462, allocations: 47.36 kB / 0.6656 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1463, allocations: 0.4883 MB / 0.6661 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.1463, allocations: 27.97 kB / 0.6661 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/0.1464, allocations: 69.98 kB / 0.6662 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1465, allocations: 110.6 kB / 0.6663 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1465, allocations: 128 / 0.6663 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001453/0.1467, allocations: 137.6 kB / 0.6664 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1467, allocations: 4 kB / 0.6665 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1467, allocations: 0 / 0.6665 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1467, allocations: 4 kB / 0.6665 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1468, allocations: 47.91 kB / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1468, allocations: 0 / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.1468, allocations: 4 kB / 0.6665 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1468, allocations: 8 kB / 0.6665 GB, free: 11.85 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.201e-05/0.1469, allocations: 168.5 kB / 0.6667 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.1469, allocations: 19.95 kB / 0.6667 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.147, allocations: 16.47 kB / 0.6667 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.147, allocations: 4 kB / 0.6667 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.147, allocations: 0 / 0.6667 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.147, allocations: 0 / 0.6667 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.027e-05/0.1471, allocations: 136.5 kB / 0.6668 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1471, allocations: 7.922 kB / 0.6669 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1472, allocations: 43.92 kB / 0.6669 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1472, allocations: 0 / 0.6669 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1472, allocations: 4 kB / 0.6669 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1472, allocations: 0 / 0.6669 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1472, allocations: 8.109 kB / 0.6669 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1474, allocations: 193.6 kB / 0.6671 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1474, allocations: 15.94 kB / 0.6671 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1474, allocations: 4 kB / 0.6671 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.1475, allocations: 4 kB / 0.6671 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.1475, allocations: 15.97 kB / 0.6671 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.1475, allocations: 4 kB / 0.6671 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.05e-05/0.1475, allocations: 119.2 kB / 0.6672 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1475, allocations: 4 kB / 0.6672 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001436/0.1477, allocations: 32 kB / 0.6673 GB, free: 11 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.0003331/0.148, allocations: 110 kB / 0.6674 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.1482, allocations: 91.53 kB / 0.6675 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1482, allocations: 0 / 0.6675 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.1482, allocations: 54.34 kB / 0.6675 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1484, allocations: 43.84 kB / 0.6676 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.1491, allocations: 406.6 kB / 0.668 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.1492, allocations: 71.94 kB / 0.668 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.589e-05/0.1492, allocations: 24.64 kB / 0.668 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1493, allocations: 16.5 kB / 0.6681 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.1493, allocations: 0 / 0.6681 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.003263/0.1525, allocations: 1.522 MB / 0.6695 GB, free: 8.648 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.2500520423054695]