Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007215/0.0007215, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009242/0.001646, 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.000692/0.000692, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008646/0.001557, 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.9541/0.9541, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08376/1.038, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.9526/0.9526, allocations: 154.6 MB / 398.5 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2831/1.236, allocations: 49.04 MB / 447.6 MB, free: 6.688 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/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_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 448.9 MB, free: 5.426 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.089e-05, allocations: 4.281 kB / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001475/0.001486, allocations: 1.413 MB / 450.3 MB, free: 4.039 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1427/0.1441, allocations: 143.8 MB / 0.5801 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.1442, allocations: 3.938 kB / 0.5801 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.1442, allocations: 0 / 0.5801 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.181e-05/0.1443, allocations: 19.84 kB / 0.5801 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.145, allocations: 326.3 kB / 0.5804 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1451, allocations: 71.7 kB / 0.5805 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.1452, allocations: 0 / 0.5805 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.1452, allocations: 43.94 kB / 0.5806 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.1453, allocations: 31.89 kB / 0.5806 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1453, allocations: 0 / 0.5806 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005795/0.1459, allocations: 386.6 kB / 0.581 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.146, allocations: 11.94 kB / 0.581 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.146, allocations: 16 kB / 0.581 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1463, allocations: 155.5 kB / 0.5811 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.188e-05/0.1463, allocations: 0 / 0.5811 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1463, allocations: 0 / 0.5811 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.1463, allocations: 0 / 0.5811 GB, free: 3.137 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.0004998/0.1468, allocations: 322.2 kB / 0.5814 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1468, allocations: 8.031 kB / 0.5814 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003748/0.1472, allocations: 137.8 kB / 0.5816 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.271e-05/0.1473, allocations: 117.7 kB / 0.5817 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1473, allocations: 8.375 kB / 0.5817 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.1474, allocations: 16.33 kB / 0.5817 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1475, allocations: 196.9 kB / 0.5819 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1475, allocations: 0 / 0.5819 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1475, allocations: 4 kB / 0.5819 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1475, allocations: 4 kB / 0.5819 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.302e-05/0.1476, allocations: 27.91 kB / 0.5819 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.1477, allocations: 82.64 kB / 0.582 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1478, allocations: 65.36 kB / 0.5821 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.1478, allocations: 23.38 kB / 0.5821 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1479, allocations: 27.97 kB / 0.5821 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.148, allocations: 34.56 kB / 0.5822 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.148, allocations: 0 / 0.5822 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.001057/0.149, allocations: 0.4891 MB / 0.5826 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1491, allocations: 55.41 kB / 0.5827 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.1491, allocations: 102.7 kB / 0.5828 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1492, allocations: 29.7 kB / 0.5828 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.1492, allocations: 84.45 kB / 0.5829 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.1493, allocations: 75.48 kB / 0.583 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.1493, allocations: 45.69 kB / 0.583 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1494, allocations: 318.8 kB / 0.5833 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1498, allocations: 16 kB / 0.5833 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.1498, allocations: 47.41 kB / 0.5834 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.165e-05/0.1499, allocations: 86.14 kB / 0.5835 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1499, allocations: 0 / 0.5835 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001114/0.15, allocations: 109.5 kB / 0.5836 GB, free: 400 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.15, allocations: 4 kB / 0.5836 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.15, allocations: 0 / 0.5836 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.15, allocations: 4 kB / 0.5836 GB, free: 392 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1502, allocations: 51.92 kB / 0.5836 GB, free: 340 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.1502, allocations: 0 / 0.5836 GB, free: 340 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.1502, allocations: 8 kB / 0.5836 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1502, allocations: 4 kB / 0.5836 GB, free: 328 kB / 0.5573 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.365e-05/0.1503, allocations: 124.6 kB / 0.5837 GB, free: 192 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.1503, allocations: 15.92 kB / 0.5838 GB, free: 176 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.1503, allocations: 16.47 kB / 0.5838 GB, free: 160 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1503, allocations: 4 kB / 0.5838 GB, free: 156 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1503, allocations: 0 / 0.5838 GB, free: 156 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1503, allocations: 0 / 0.5838 GB, free: 156 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.485e-05/0.1504, allocations: 89.88 kB / 0.5839 GB, free: 48 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1504, allocations: 3.938 kB / 0.5839 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1505, allocations: 43.92 kB / 0.5839 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.1506, allocations: 20.08 kB / 0.5839 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1506, allocations: 0 / 0.5839 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1506, allocations: 4.125 kB / 0.5839 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1506, allocations: 4 kB / 0.5839 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1506, allocations: 0 / 0.5839 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.1508, allocations: 153.1 kB / 0.5841 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1508, allocations: 3.938 kB / 0.5841 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.1508, allocations: 8 kB / 0.5841 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.1508, allocations: 19.95 kB / 0.5841 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1508, allocations: 8 kB / 0.5841 GB, free: 15.76 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.046e-05/0.1509, allocations: 8.844 kB / 0.5841 GB, free: 15.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1509, allocations: 0 / 0.5841 GB, free: 15.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001175/0.151, allocations: 28 kB / 0.5842 GB, free: 15.72 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.0001149/0.1511, allocations: 84.36 kB / 0.5842 GB, free: 15.63 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1512, allocations: 80.81 kB / 0.5843 GB, free: 15.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.1512, allocations: 4 kB / 0.5843 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/0.1512, allocations: 50.98 kB / 0.5844 GB, free: 15.49 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.1514, allocations: 47.42 kB / 0.5844 GB, free: 15.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1525, allocations: 292.7 kB / 0.5847 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.1525, allocations: 72 kB / 0.5848 GB, free: 15.05 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.955e-05/0.1526, allocations: 16.66 kB / 0.5848 GB, free: 15.03 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.1527, allocations: 91.34 kB / 0.5849 GB, free: 14.94 MB / 0.573 GB Notification: Performance of SimCode: time 8.62e-07/0.1527, allocations: 0 / 0.5849 GB, free: 14.94 MB / 0.573 GB Notification: Performance of Templates: time 0.00356/0.1562, allocations: 1.713 MB / 0.5865 GB, free: 13.27 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.76717618573457]