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.001318/0.001318, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001475/0.001475, allocations: 169 kB / 23.28 MB, free: 1.223 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 1.009/1.009, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.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.7765/0.7765, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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. " [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 9.42e-07/9.42e-07, allocations: 0 / 0.5207 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.366e-06/9.308e-06, allocations: 2.312 kB / 0.5207 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001466/0.001475, allocations: 1.356 MB / 0.522 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1275/0.129, allocations: 141.2 MB / 0.66 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.129, allocations: 0 / 0.66 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.1291, allocations: 3.984 kB / 0.66 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.1292, allocations: 19.81 kB / 0.66 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.1298, allocations: 338.3 kB / 0.6603 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.856e-05/0.1299, allocations: 63.77 kB / 0.6604 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.1299, allocations: 7.984 kB / 0.6604 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.13, allocations: 43.89 kB / 0.6604 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.1301, allocations: 31.88 kB / 0.6605 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1301, allocations: 4 kB / 0.6605 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.1305, allocations: 378.6 kB / 0.6608 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.1306, allocations: 15.97 kB / 0.6608 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.1306, allocations: 19.94 kB / 0.6609 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1308, allocations: 175.4 kB / 0.661 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1308, allocations: 0 / 0.661 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1308, allocations: 3.984 kB / 0.661 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.1308, allocations: 0 / 0.661 GB, free: 1.91 MB / 0.6198 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.0003256/0.1311, allocations: 416.2 kB / 0.6614 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1312, allocations: 8.031 kB / 0.6614 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.1314, allocations: 56.66 kB / 0.6615 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.833e-05/0.1315, allocations: 112.5 kB / 0.6616 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1315, allocations: 12.38 kB / 0.6616 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1315, allocations: 16.36 kB / 0.6616 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1316, allocations: 198 kB / 0.6618 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1317, allocations: 4 kB / 0.6618 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1317, allocations: 4 kB / 0.6618 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1317, allocations: 0 / 0.6618 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.1317, allocations: 27.91 kB / 0.6619 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.1318, allocations: 121.2 kB / 0.662 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.75e-05/0.1319, allocations: 79.17 kB / 0.662 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.1319, allocations: 22.41 kB / 0.6621 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.132, allocations: 35.92 kB / 0.6621 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.132, allocations: 33.39 kB / 0.6621 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.132, allocations: 3.984 kB / 0.6621 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0006351/0.1327, allocations: 447.3 kB / 0.6626 GB, free: 168 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.1327, allocations: 59.34 kB / 0.6626 GB, free: 96 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.384e-05/0.1328, allocations: 157.9 kB / 0.6628 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1328, allocations: 29.7 kB / 0.6628 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.1328, allocations: 127.2 kB / 0.6629 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.1328, allocations: 75.36 kB / 0.663 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1329, allocations: 47.34 kB / 0.663 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.133, allocations: 0.4884 MB / 0.6635 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.133, allocations: 15.98 kB / 0.6635 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.052e-05/0.133, allocations: 69.89 kB / 0.6636 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.1331, allocations: 102.8 kB / 0.6637 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1331, allocations: 3.938 kB / 0.6637 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001067/0.1332, allocations: 125.5 kB / 0.6638 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.1332, allocations: 4 kB / 0.6638 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1332, allocations: 0 / 0.6638 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1332, allocations: 4 kB / 0.6638 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.1333, allocations: 43.92 kB / 0.6639 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.1333, allocations: 0 / 0.6639 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.1334, allocations: 4 kB / 0.6639 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1334, allocations: 4 kB / 0.6639 GB, free: 14.72 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 6.167e-05/0.1334, allocations: 176.4 kB / 0.664 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.1334, allocations: 19.95 kB / 0.6641 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.1335, allocations: 16.47 kB / 0.6641 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1335, allocations: 0 / 0.6641 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1335, allocations: 4.125 kB / 0.6641 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1335, allocations: 4 kB / 0.6641 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.354e-05/0.1336, allocations: 117.2 kB / 0.6642 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1336, allocations: 0 / 0.6642 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.1336, allocations: 35.92 kB / 0.6642 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1336, allocations: 7.938 kB / 0.6642 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1337, allocations: 4 kB / 0.6642 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.1337, allocations: 4 kB / 0.6642 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1337, allocations: 0 / 0.6642 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.1338, allocations: 174.5 kB / 0.6644 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.1338, allocations: 15.88 kB / 0.6644 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.1338, allocations: 8 kB / 0.6644 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.1339, allocations: 4 kB / 0.6644 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1339, allocations: 7.984 kB / 0.6644 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1339, allocations: 7.984 kB / 0.6645 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.1339, allocations: 123.2 kB / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.1339, allocations: 96 / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001294/0.1341, allocations: 36 kB / 0.6646 GB, free: 13.92 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 8.576e-05/0.1341, allocations: 103.2 kB / 0.6647 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.368e-05/0.1342, allocations: 79.56 kB / 0.6648 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.1342, allocations: 4 kB / 0.6648 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.1343, allocations: 51.48 kB / 0.6648 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1346, allocations: 41.95 kB / 0.6649 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008463/0.1355, allocations: 410.6 kB / 0.6653 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.1355, allocations: 68.06 kB / 0.6653 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.371e-05/0.1355, allocations: 20.64 kB / 0.6653 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.1356, allocations: 114.2 kB / 0.6655 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.1356, allocations: 0 / 0.6655 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.00276/0.1384, allocations: 1.6 MB / 0.667 GB, free: 11.42 MB / 0.6355 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: 4.163377283606678]