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.0009133/0.0009133, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.00206, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001405/0.001405, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.00265, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9883/0.9883, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1301/1.118, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8586/0.8586, allocations: 155.3 MB / 399.3 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3003/1.159, allocations: 49.12 MB / 448.4 MB, free: 6.004 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.463e-06/1.463e-06, allocations: 0 / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.272e-05, allocations: 5.812 kB / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002229/0.002242, allocations: 1.409 MB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1421/0.1443, allocations: 143.8 MB / 0.5809 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.1444, allocations: 3.938 kB / 0.5809 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.1444, allocations: 0 / 0.5809 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.1445, allocations: 15.84 kB / 0.5809 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.1453, allocations: 334.3 kB / 0.5812 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1454, allocations: 63.77 kB / 0.5813 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.1455, allocations: 4 kB / 0.5813 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.1455, allocations: 47.88 kB / 0.5814 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.1456, allocations: 31.89 kB / 0.5814 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1456, allocations: 4 kB / 0.5814 GB, free: 3 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/0.1462, allocations: 378.6 kB / 0.5818 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1463, allocations: 11.94 kB / 0.5818 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1463, allocations: 16 kB / 0.5818 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1465, allocations: 155.5 kB / 0.5819 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.1465, allocations: 0 / 0.5819 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1465, allocations: 0 / 0.5819 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.1466, allocations: 0 / 0.5819 GB, free: 2.449 MB / 0.5573 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.0003818/0.1469, allocations: 314.4 kB / 0.5822 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.147, allocations: 8.031 kB / 0.5822 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.1473, allocations: 145.7 kB / 0.5824 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.831e-05/0.1474, allocations: 113.7 kB / 0.5825 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1474, allocations: 12.31 kB / 0.5825 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1474, allocations: 16.33 kB / 0.5825 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1476, allocations: 196.9 kB / 0.5827 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1476, allocations: 0 / 0.5827 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1476, allocations: 12 kB / 0.5827 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1476, allocations: 0 / 0.5827 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.1476, allocations: 23.97 kB / 0.5827 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.1477, allocations: 74.7 kB / 0.5828 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1478, allocations: 73.3 kB / 0.5829 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.1478, allocations: 20.86 kB / 0.5829 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.148, allocations: 23.97 kB / 0.5829 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.148, allocations: 38.56 kB / 0.583 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.148, allocations: 4.328 kB / 0.583 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0008642/0.1489, allocations: 0.4898 MB / 0.5834 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.1489, allocations: 55.41 kB / 0.5835 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/0.1489, allocations: 106.7 kB / 0.5836 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1489, allocations: 29.7 kB / 0.5836 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.149, allocations: 84.52 kB / 0.5837 GB, free: 440 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.149, allocations: 71.38 kB / 0.5838 GB, free: 368 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.149, allocations: 37.69 kB / 0.5838 GB, free: 324 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.1491, allocations: 322.8 kB / 0.5841 GB, free: 15.99 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.1491, allocations: 15.94 kB / 0.5841 GB, free: 15.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.1492, allocations: 55.33 kB / 0.5842 GB, free: 15.91 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.1493, allocations: 94.25 kB / 0.5843 GB, free: 15.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1493, allocations: 0 / 0.5843 GB, free: 15.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 9.461e-05/0.1493, allocations: 105.5 kB / 0.5844 GB, free: 15.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1494, allocations: 4 kB / 0.5844 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1494, allocations: 4 kB / 0.5844 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.1494, allocations: 0 / 0.5844 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.1495, allocations: 47.92 kB / 0.5844 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1495, allocations: 4 kB / 0.5844 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.1495, allocations: 0 / 0.5844 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1495, allocations: 8 kB / 0.5844 GB, free: 15.63 MB / 0.573 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 5.97e-05/0.1496, allocations: 124.6 kB / 0.5846 GB, free: 15.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.1496, allocations: 19.92 kB / 0.5846 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.1496, allocations: 16.47 kB / 0.5846 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1496, allocations: 7.984 kB / 0.5846 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1496, allocations: 0 / 0.5846 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1496, allocations: 3.984 kB / 0.5846 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.425e-05/0.1497, allocations: 89.88 kB / 0.5847 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1497, allocations: 0 / 0.5847 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1498, allocations: 35.98 kB / 0.5847 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.1499, allocations: 19.88 kB / 0.5847 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1499, allocations: 0 / 0.5847 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1499, allocations: 8 kB / 0.5847 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1499, allocations: 4.125 kB / 0.5847 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1499, allocations: 4 kB / 0.5848 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.15, allocations: 146.6 kB / 0.5849 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.15, allocations: 7.938 kB / 0.5849 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.1501, allocations: 8 kB / 0.5849 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.1501, allocations: 11.97 kB / 0.5849 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1501, allocations: 8 kB / 0.5849 GB, free: 15.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.362e-06/0.1501, allocations: 4.859 kB / 0.5849 GB, free: 15.06 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.1501, allocations: 4.094 kB / 0.5849 GB, free: 15.06 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001255/0.1502, allocations: 28 kB / 0.585 GB, free: 15.03 MB / 0.573 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.000102/0.1503, allocations: 88.36 kB / 0.585 GB, free: 14.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.938e-05/0.1504, allocations: 80.7 kB / 0.5851 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1504, allocations: 7.922 kB / 0.5851 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.1505, allocations: 43.02 kB / 0.5852 GB, free: 14.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.1506, allocations: 52.36 kB / 0.5852 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1517, allocations: 292.8 kB / 0.5855 GB, free: 14.44 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.1517, allocations: 72.02 kB / 0.5856 GB, free: 14.35 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.1518, allocations: 20.62 kB / 0.5856 GB, free: 14.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.1519, allocations: 87.36 kB / 0.5857 GB, free: 14.24 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/0.1519, allocations: 0 / 0.5857 GB, free: 14.24 MB / 0.573 GB Notification: Performance of Templates: time 0.003326/0.1552, allocations: 1.713 MB / 0.5873 GB, free: 12.57 MB / 0.573 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: 3.705181839875877]