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.001039/0.001039, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002471, 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.0007235/0.0007235, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009864/0.00171, 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 1.047/1.047, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09032/1.137, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.816/0.816, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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.3063/1.122, allocations: 49.04 MB / 447.8 MB, free: 6.551 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.073e-06/1.073e-06, allocations: 0 / 449.1 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.311e-05, allocations: 4.281 kB / 449.1 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002377/0.002401, allocations: 1.411 MB / 450.5 MB, free: 3.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1429/0.1453, allocations: 143.8 MB / 0.5804 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.1454, allocations: 0 / 0.5804 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.335e-05/0.1454, allocations: 3.938 kB / 0.5804 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.1455, allocations: 11.91 kB / 0.5804 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.1464, allocations: 338.2 kB / 0.5807 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1465, allocations: 63.7 kB / 0.5808 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.1465, allocations: 7.984 kB / 0.5808 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.1466, allocations: 39.95 kB / 0.5808 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1467, allocations: 35.88 kB / 0.5809 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1467, allocations: 4 kB / 0.5809 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.1473, allocations: 378.6 kB / 0.5812 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.1474, allocations: 11.94 kB / 0.5812 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.1474, allocations: 16 kB / 0.5812 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1477, allocations: 155.5 kB / 0.5814 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.1477, allocations: 0 / 0.5814 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1477, allocations: 0 / 0.5814 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.1477, allocations: 0 / 0.5814 GB, free: 2.977 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.0004647/0.1482, allocations: 318.2 kB / 0.5817 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1482, allocations: 12.03 kB / 0.5817 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.1486, allocations: 145.8 kB / 0.5818 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.1486, allocations: 105.7 kB / 0.5819 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1487, allocations: 8.375 kB / 0.582 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1487, allocations: 20.25 kB / 0.582 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1488, allocations: 198.8 kB / 0.5822 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1488, allocations: 0 / 0.5822 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1489, allocations: 4 kB / 0.5822 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1489, allocations: 0 / 0.5822 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.1489, allocations: 27.97 kB / 0.5822 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.149, allocations: 90.67 kB / 0.5823 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1491, allocations: 65.42 kB / 0.5823 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.1492, allocations: 20.8 kB / 0.5824 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.1493, allocations: 23.98 kB / 0.5824 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1493, allocations: 34.56 kB / 0.5824 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 7.81e-07/0.1493, allocations: 0 / 0.5824 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0009126/0.1502, allocations: 0.5016 MB / 0.5829 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1502, allocations: 55.41 kB / 0.583 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.1503, allocations: 110.7 kB / 0.5831 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1503, allocations: 29.7 kB / 0.5831 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.1503, allocations: 80.52 kB / 0.5832 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.1504, allocations: 71.38 kB / 0.5832 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.1504, allocations: 41.69 kB / 0.5833 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.1505, allocations: 318.8 kB / 0.5836 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.1505, allocations: 16 kB / 0.5836 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-05/0.1505, allocations: 43.41 kB / 0.5836 GB, free: 452 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.1506, allocations: 94.12 kB / 0.5837 GB, free: 344 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1506, allocations: 0 / 0.5837 GB, free: 344 kB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 9.833e-05/0.1507, allocations: 105.6 kB / 0.5838 GB, free: 232 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1507, allocations: 11.98 kB / 0.5838 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1507, allocations: 0 / 0.5838 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1507, allocations: 4 kB / 0.5838 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.1508, allocations: 43.98 kB / 0.5839 GB, free: 172 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1509, allocations: 3.938 kB / 0.5839 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.1509, allocations: 4 kB / 0.5839 GB, free: 164 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1509, allocations: 11.98 kB / 0.5839 GB, free: 152 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.092e-05/0.1509, allocations: 116.7 kB / 0.584 GB, free: 24 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.151, allocations: 19.92 kB / 0.584 GB, free: 4 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.151, allocations: 16.55 kB / 0.5841 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.151, allocations: 8 kB / 0.5841 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.151, allocations: 0 / 0.5841 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.151, allocations: 0 / 0.5841 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.589e-05/0.1511, allocations: 89.78 kB / 0.5841 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1511, allocations: 3.938 kB / 0.5841 GB, free: 15.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1512, allocations: 39.98 kB / 0.5842 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1512, allocations: 19.88 kB / 0.5842 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1512, allocations: 0 / 0.5842 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1512, allocations: 4 kB / 0.5842 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1512, allocations: 0 / 0.5842 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1512, allocations: 7.938 kB / 0.5842 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.1514, allocations: 150.6 kB / 0.5844 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1514, allocations: 7.938 kB / 0.5844 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-05/0.1514, allocations: 8 kB / 0.5844 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.1515, allocations: 11.97 kB / 0.5844 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1515, allocations: 8.188 kB / 0.5844 GB, free: 15.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.475e-06/0.1515, allocations: 4.859 kB / 0.5844 GB, free: 15.59 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1515, allocations: 0 / 0.5844 GB, free: 15.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001199/0.1516, allocations: 28 kB / 0.5844 GB, free: 15.56 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.0001108/0.1517, allocations: 88.52 kB / 0.5845 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1518, allocations: 88.64 kB / 0.5846 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1518, allocations: 0 / 0.5846 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.1519, allocations: 50.89 kB / 0.5846 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.152, allocations: 56.52 kB / 0.5847 GB, free: 15.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.153, allocations: 288.8 kB / 0.585 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.665e-05/0.1531, allocations: 76.02 kB / 0.585 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.785e-05/0.1531, allocations: 20.62 kB / 0.5851 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1532, allocations: 87.34 kB / 0.5851 GB, free: 14.76 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/0.1532, allocations: 0 / 0.5851 GB, free: 14.76 MB / 0.573 GB Notification: Performance of Templates: time 0.003232/0.1565, allocations: 1.72 MB / 0.5868 GB, free: 13.09 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.747867548838258]