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.0009817/0.0009817, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001428/0.001428, allocations: 169 kB / 23.03 MB, free: 1.543 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 0.9659/0.9659, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8387/0.8387, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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 1.964e-06/1.964e-06, allocations: 0 / 0.5203 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.848e-05, allocations: 3.438 kB / 0.5203 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002349/0.002377, allocations: 1.369 MB / 0.5216 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1349/0.1373, allocations: 143.9 MB / 0.6622 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.1374, allocations: 0 / 0.6622 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.092e-05/0.1374, allocations: 7.922 kB / 0.6622 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1375, allocations: 19.86 kB / 0.6622 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.1386, allocations: 338.3 kB / 0.6625 GB, free: 276 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1387, allocations: 63.77 kB / 0.6626 GB, free: 212 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.1387, allocations: 4 kB / 0.6626 GB, free: 208 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.1388, allocations: 47.88 kB / 0.6626 GB, free: 160 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1389, allocations: 27.89 kB / 0.6627 GB, free: 132 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1389, allocations: 4 kB / 0.6627 GB, free: 128 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.1396, allocations: 370.6 kB / 0.663 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.1397, allocations: 19.97 kB / 0.663 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.1397, allocations: 19.97 kB / 0.6631 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.1401, allocations: 175.4 kB / 0.6632 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1401, allocations: 3.938 kB / 0.6632 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1401, allocations: 0 / 0.6632 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1401, allocations: 0 / 0.6632 GB, free: 15.55 MB / 0.6355 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.0004543/0.1405, allocations: 424.2 kB / 0.6636 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1406, allocations: 12.03 kB / 0.6636 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.141, allocations: 52.67 kB / 0.6637 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.1411, allocations: 120.5 kB / 0.6638 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1411, allocations: 4.375 kB / 0.6638 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.1411, allocations: 12.38 kB / 0.6638 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1413, allocations: 198.1 kB / 0.664 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1413, allocations: 0 / 0.664 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1413, allocations: 7.938 kB / 0.664 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1414, allocations: 0 / 0.664 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.1414, allocations: 42.47 kB / 0.6641 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1416, allocations: 136.5 kB / 0.6642 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1418, allocations: 75.19 kB / 0.6643 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.1418, allocations: 31.61 kB / 0.6643 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.142, allocations: 27.98 kB / 0.6643 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.142, allocations: 41.33 kB / 0.6644 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/0.142, allocations: 0 / 0.6644 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001073/0.1431, allocations: 459.8 kB / 0.6648 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.1431, allocations: 55.41 kB / 0.6649 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/0.1432, allocations: 149.9 kB / 0.665 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1432, allocations: 33.7 kB / 0.665 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.1432, allocations: 127.2 kB / 0.6652 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.1433, allocations: 75.38 kB / 0.6652 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.1434, allocations: 47.5 kB / 0.6653 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1435, allocations: 0.4922 MB / 0.6658 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.1436, allocations: 23.98 kB / 0.6658 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.1437, allocations: 70.17 kB / 0.6658 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.1441, allocations: 114.6 kB / 0.666 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1441, allocations: 0 / 0.666 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002031/0.1443, allocations: 137.5 kB / 0.6661 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1443, allocations: 4 kB / 0.6661 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1443, allocations: 0 / 0.6661 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1443, allocations: 4 kB / 0.6661 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1445, allocations: 35.98 kB / 0.6661 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1445, allocations: 4 kB / 0.6661 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.1445, allocations: 8 kB / 0.6661 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1445, allocations: 4 kB / 0.6661 GB, free: 12.28 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 9.886e-05/0.1446, allocations: 176.4 kB / 0.6663 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1447, allocations: 19.89 kB / 0.6663 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.1447, allocations: 12.47 kB / 0.6663 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1447, allocations: 4 kB / 0.6663 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1447, allocations: 0 / 0.6663 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1447, allocations: 0 / 0.6663 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1448, allocations: 144.5 kB / 0.6665 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1448, allocations: 4 kB / 0.6665 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.145, allocations: 40.05 kB / 0.6665 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.145, allocations: 4 kB / 0.6665 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.145, allocations: 8 kB / 0.6665 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.145, allocations: 0 / 0.6665 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.145, allocations: 0 / 0.6665 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1453, allocations: 185.6 kB / 0.6667 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.1453, allocations: 23.88 kB / 0.6667 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1453, allocations: 0 / 0.6667 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.1454, allocations: 8 kB / 0.6667 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1454, allocations: 11.98 kB / 0.6668 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1454, allocations: 11.98 kB / 0.6668 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.1455, allocations: 119.2 kB / 0.6669 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1455, allocations: 4 kB / 0.6669 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002286/0.1457, allocations: 28 kB / 0.6669 GB, free: 11.43 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 0.0001389/0.1459, allocations: 103.2 kB / 0.667 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.146, allocations: 97.77 kB / 0.6671 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.146, allocations: 4.094 kB / 0.6671 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.1461, allocations: 55.53 kB / 0.6672 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.1464, allocations: 44.3 kB / 0.6672 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008696/0.1472, allocations: 406.7 kB / 0.6676 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.753e-05/0.1473, allocations: 68.08 kB / 0.6677 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.606e-05/0.1474, allocations: 24.64 kB / 0.6677 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1474, allocations: 16.5 kB / 0.6677 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.1474, allocations: 0 / 0.6677 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.003987/0.1514, allocations: 1.527 MB / 0.6692 GB, free: 9.086 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.373385465238243]