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.001207/0.001207, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001081/0.001081, allocations: 173 kB / 23.49 MB, free: 1.059 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.8209/0.8209, allocations: 154.6 MB / 414.9 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.923e-06/1.923e-06, allocations: 0 / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.11e-05, allocations: 3.5 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002025/0.002056, allocations: 1.358 MB / 0.5216 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1294/0.1315, allocations: 143.7 MB / 0.6619 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.1315, allocations: 4 kB / 0.6619 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.61e-05/0.1316, allocations: 3.938 kB / 0.6619 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1317, allocations: 23.78 kB / 0.662 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.1327, allocations: 326.4 kB / 0.6623 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.1328, allocations: 71.69 kB / 0.6623 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.1328, allocations: 7.984 kB / 0.6623 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.1329, allocations: 39.95 kB / 0.6624 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.133, allocations: 27.89 kB / 0.6624 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.133, allocations: 4 kB / 0.6624 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006338/0.1336, allocations: 378.6 kB / 0.6628 GB, free: 304 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.1337, allocations: 19.91 kB / 0.6628 GB, free: 284 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.1337, allocations: 23.97 kB / 0.6628 GB, free: 260 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.134, allocations: 171.4 kB / 0.663 GB, free: 88 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.134, allocations: 0 / 0.663 GB, free: 88 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.134, allocations: 4 kB / 0.663 GB, free: 84 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.1341, allocations: 0 / 0.663 GB, free: 84 kB / 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.0004525/0.1345, allocations: 412.3 kB / 0.6634 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1345, allocations: 11.97 kB / 0.6634 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.1349, allocations: 64.66 kB / 0.6635 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.135, allocations: 108.6 kB / 0.6636 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.135, allocations: 8.312 kB / 0.6636 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.135, allocations: 16.36 kB / 0.6636 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1352, allocations: 198.1 kB / 0.6638 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1352, allocations: 0 / 0.6638 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1352, allocations: 4 kB / 0.6638 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1352, allocations: 4 kB / 0.6638 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.1353, allocations: 35.89 kB / 0.6638 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.1355, allocations: 128.6 kB / 0.6639 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1356, allocations: 94.34 kB / 0.664 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.1356, allocations: 15.69 kB / 0.664 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.1358, allocations: 31.97 kB / 0.6641 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1358, allocations: 49.59 kB / 0.6641 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.1358, allocations: 0 / 0.6641 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0009637/0.1368, allocations: 455.6 kB / 0.6646 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.1368, allocations: 59.39 kB / 0.6646 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.1369, allocations: 157.9 kB / 0.6648 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1369, allocations: 29.7 kB / 0.6648 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.1369, allocations: 127.2 kB / 0.6649 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.137, allocations: 71.39 kB / 0.665 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.137, allocations: 47.36 kB / 0.665 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1371, allocations: 0.4924 MB / 0.6655 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.1372, allocations: 27.98 kB / 0.6655 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.1373, allocations: 70.17 kB / 0.6656 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1374, allocations: 106.7 kB / 0.6657 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1374, allocations: 0 / 0.6657 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001553/0.1375, allocations: 137.5 kB / 0.6658 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1375, allocations: 4 kB / 0.6658 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1375, allocations: 4 kB / 0.6658 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1376, allocations: 3.938 kB / 0.6658 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1377, allocations: 35.98 kB / 0.6659 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1377, allocations: 0 / 0.6659 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.1377, allocations: 12 kB / 0.6659 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1377, allocations: 4 kB / 0.6659 GB, free: 12.82 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 7.91e-05/0.1378, allocations: 172.5 kB / 0.6661 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.1378, allocations: 19.94 kB / 0.6661 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.1378, allocations: 24.45 kB / 0.6661 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1379, allocations: 0 / 0.6661 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1379, allocations: 0 / 0.6661 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1379, allocations: 0 / 0.6661 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.695e-05/0.138, allocations: 140.7 kB / 0.6662 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.138, allocations: 4 kB / 0.6662 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1381, allocations: 39.92 kB / 0.6663 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1381, allocations: 4 kB / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1381, allocations: 4 kB / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1381, allocations: 0 / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1381, allocations: 0 / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1383, allocations: 180.2 kB / 0.6665 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.1384, allocations: 19.94 kB / 0.6665 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1384, allocations: 0 / 0.6665 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.1384, allocations: 11.98 kB / 0.6665 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.1384, allocations: 11.92 kB / 0.6665 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1385, allocations: 11.94 kB / 0.6665 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.1385, allocations: 131.2 kB / 0.6666 GB, free: 12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1385, allocations: 0 / 0.6666 GB, free: 12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001522/0.1386, allocations: 28 kB / 0.6667 GB, free: 11.97 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.0001263/0.1388, allocations: 99.25 kB / 0.6668 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.1389, allocations: 97.59 kB / 0.6668 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1389, allocations: 0 / 0.6668 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.139, allocations: 51.69 kB / 0.6669 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1392, allocations: 36.39 kB / 0.6669 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.1399, allocations: 414.6 kB / 0.6673 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.14, allocations: 68.08 kB / 0.6674 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.1401, allocations: 24.62 kB / 0.6674 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.1401, allocations: 16.5 kB / 0.6674 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of SimCode: time 9.81e-07/0.1401, allocations: 0 / 0.6674 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.003267/0.1434, allocations: 1.423 MB / 0.6688 GB, free: 9.738 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.476851214189082]