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.0009866/0.0009866, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002339, allocations: 440 kB / 10.41 MB, free: 284 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.001057/0.001057, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009441/0.002001, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9135/0.9135, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09874/1.012, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7731/0.7731, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.2862/1.059, allocations: 49.13 MB / 448.6 MB, free: 5.879 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.353e-06/1.353e-06, allocations: 0 / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.117e-05, allocations: 5.703 kB / 449.9 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001736/0.001757, allocations: 1.423 MB / 451.4 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1266/0.1284, allocations: 143.8 MB / 0.5812 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.1284, allocations: 4 kB / 0.5812 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.1285, allocations: 7.938 kB / 0.5812 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.1285, allocations: 15.91 kB / 0.5812 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.1292, allocations: 338.3 kB / 0.5815 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.946e-05/0.1293, allocations: 67.7 kB / 0.5816 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.1294, allocations: 0 / 0.5816 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.1294, allocations: 47.88 kB / 0.5816 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.1295, allocations: 27.95 kB / 0.5817 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1295, allocations: 0 / 0.5817 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.13, allocations: 382.5 kB / 0.582 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1301, allocations: 8 kB / 0.582 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1301, allocations: 15.94 kB / 0.582 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1303, allocations: 159.5 kB / 0.5822 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.1303, allocations: 0 / 0.5822 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1303, allocations: 3.938 kB / 0.5822 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.1303, allocations: 0 / 0.5822 GB, free: 2.293 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.0003276/0.1307, allocations: 310.3 kB / 0.5825 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.1307, allocations: 8.031 kB / 0.5825 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.131, allocations: 145.8 kB / 0.5826 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.1311, allocations: 105.7 kB / 0.5827 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1311, allocations: 8.375 kB / 0.5827 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.1312, allocations: 28.25 kB / 0.5828 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1313, allocations: 196.9 kB / 0.583 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.1313, allocations: 0 / 0.583 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1313, allocations: 0 / 0.583 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1313, allocations: 4 kB / 0.583 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.1314, allocations: 31.91 kB / 0.583 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.1315, allocations: 74.7 kB / 0.5831 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1316, allocations: 69.36 kB / 0.5831 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.1317, allocations: 24.78 kB / 0.5832 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.1318, allocations: 27.98 kB / 0.5832 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1318, allocations: 34.56 kB / 0.5832 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1318, allocations: 0 / 0.5832 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.001044/0.1328, allocations: 0.5007 MB / 0.5837 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.1329, allocations: 55.41 kB / 0.5838 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.34e-05/0.1329, allocations: 94.72 kB / 0.5838 GB, free: 412 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1329, allocations: 33.7 kB / 0.5839 GB, free: 372 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.133, allocations: 80.52 kB / 0.584 GB, free: 288 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.133, allocations: 75.36 kB / 0.584 GB, free: 212 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.1331, allocations: 45.81 kB / 0.5841 GB, free: 160 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.1331, allocations: 318.8 kB / 0.5844 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.1332, allocations: 15.98 kB / 0.5844 GB, free: 15.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.1334, allocations: 51.41 kB / 0.5844 GB, free: 15.76 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.1335, allocations: 86.12 kB / 0.5845 GB, free: 15.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1335, allocations: 0 / 0.5845 GB, free: 15.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001237/0.1337, allocations: 109.5 kB / 0.5846 GB, free: 15.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1337, allocations: 8 kB / 0.5846 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1337, allocations: 3.984 kB / 0.5846 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1337, allocations: 4 kB / 0.5846 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1338, allocations: 43.98 kB / 0.5847 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1338, allocations: 7.938 kB / 0.5847 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.1339, allocations: 11.98 kB / 0.5847 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1339, allocations: 4 kB / 0.5847 GB, free: 15.46 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 7.195e-05/0.1339, allocations: 124.7 kB / 0.5848 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.134, allocations: 11.94 kB / 0.5848 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.134, allocations: 20.45 kB / 0.5849 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.134, allocations: 3.938 kB / 0.5849 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.134, allocations: 0 / 0.5849 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.134, allocations: 4 kB / 0.5849 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.754e-05/0.1341, allocations: 81.89 kB / 0.5849 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1341, allocations: 7.984 kB / 0.585 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1342, allocations: 43.92 kB / 0.585 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.1343, allocations: 11.89 kB / 0.585 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1343, allocations: 4 kB / 0.585 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1343, allocations: 4 kB / 0.585 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1343, allocations: 0 / 0.585 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1343, allocations: 0 / 0.585 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1344, allocations: 150.6 kB / 0.5852 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1345, allocations: 7.938 kB / 0.5852 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.537e-05/0.1345, allocations: 11.98 kB / 0.5852 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1345, allocations: 11.98 kB / 0.5852 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1345, allocations: 4 kB / 0.5852 GB, free: 14.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.072e-05/0.1345, allocations: 12.84 kB / 0.5852 GB, free: 14.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1345, allocations: 0 / 0.5852 GB, free: 14.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001705/0.1347, allocations: 28 kB / 0.5852 GB, free: 14.87 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.0001155/0.1348, allocations: 80.42 kB / 0.5853 GB, free: 14.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.135, allocations: 88.81 kB / 0.5854 GB, free: 14.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.135, allocations: 8.094 kB / 0.5854 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.135, allocations: 52.77 kB / 0.5854 GB, free: 14.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.1352, allocations: 56.75 kB / 0.5855 GB, free: 14.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1365, allocations: 280.9 kB / 0.5858 GB, free: 14.28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.1365, allocations: 72.02 kB / 0.5858 GB, free: 14.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 8.21e-05/0.1366, allocations: 24.62 kB / 0.5859 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1367, allocations: 87.36 kB / 0.5859 GB, free: 14.08 MB / 0.573 GB Notification: Performance of SimCode: time 4.71e-07/0.1367, allocations: 0 / 0.5859 GB, free: 14.08 MB / 0.573 GB Notification: Performance of Templates: time 0.003459/0.1401, allocations: 1.718 MB / 0.5876 GB, free: 12.41 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.712949188426137]