Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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.001596/0.001596, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001828/0.001828, allocations: 216.5 kB / 22.25 MB, free: 4.855 MB / 14.72 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01769/0.01769, allocations: 3.271 MB / 315.7 MB, free: 15.59 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 79.81 kB / 440 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1134, allocations: 54.37 MB / 494.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002797/0.1162, allocations: 0.7552 MB / 495.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1176, allocations: 0.8296 MB / 496 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.1176, allocations: 0 / 496 MB, free: 3.336 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:301:3-326:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1179, allocations: 27.84 kB / 496 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.1181, allocations: 23.92 kB / 496 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.272e-05/0.1181, allocations: 0 / 496 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.1182, allocations: 19.92 kB / 496 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.1182, allocations: 0 / 496 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.1182, allocations: 15.92 kB / 496 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.1183, allocations: 4 kB / 496 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.1183, allocations: 0 / 496 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.1184, allocations: 12 kB / 496.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.1184, allocations: 15.94 kB / 496.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1184, allocations: 7.922 kB / 496.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1185, allocations: 31.84 kB / 496.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1185, allocations: 0 / 496.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1185, allocations: 0 / 496.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1185, allocations: 0 / 496.1 MB, free: 3.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004049/0.1189, allocations: 258.3 kB / 496.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.119, allocations: 8.031 kB / 496.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.119, allocations: 4.922 kB / 496.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1192, allocations: 118.4 kB / 496.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1192, allocations: 4.312 kB / 496.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1192, allocations: 8.375 kB / 496.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1193, allocations: 43.98 kB / 496.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1193, allocations: 4.172 kB / 496.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1194, allocations: 3.938 kB / 496.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1194, allocations: 3.938 kB / 496.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.1194, allocations: 4 kB / 496.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1198, allocations: 419.4 kB / 497 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1199, allocations: 169.1 kB / 497.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.12, allocations: 88.08 kB / 497.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.12, allocations: 79.28 kB / 497.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.022e-05/0.1201, allocations: 105.8 kB / 497.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.1201, allocations: 3.938 kB / 497.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.000104/0.1202, allocations: 33.7 kB / 497.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.1203, allocations: 134.6 kB / 497.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1204, allocations: 101.9 kB / 497.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1205, allocations: 29.7 kB / 497.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.1205, allocations: 96.06 kB / 497.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.1205, allocations: 0 / 497.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1206, allocations: 9.719 kB / 497.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1207, allocations: 314.8 kB / 498.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.1207, allocations: 4 kB / 498.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.1207, allocations: 4.031 kB / 498.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.1208, allocations: 75.53 kB / 498.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/0.1208, allocations: 75.28 kB / 498.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.239e-05/0.1209, allocations: 37.64 kB / 498.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.1209, allocations: 83.27 kB / 498.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.522e-05/0.121, allocations: 83.22 kB / 498.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.306e-05/0.1211, allocations: 154.6 kB / 498.6 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.1211, allocations: 83.2 kB / 498.7 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.954e-05/0.1212, allocations: 154.7 kB / 498.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.1213, allocations: 83.3 kB / 498.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.1213, allocations: 83.2 kB / 499 MB, free: 84 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 0.0002043/0.1215, allocations: 264.4 kB / 499.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1217, allocations: 108.9 kB / 499.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.1217, allocations: 112.4 kB / 499.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.111e-05/0.1218, allocations: 180.2 kB / 499.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001099/0.1219, allocations: 176.3 kB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/0.122, allocations: 184.2 kB / 0.4883 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.1223, allocations: 356.9 kB / 0.4886 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.795e-05/0.1224, allocations: 104.9 kB / 0.4887 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.1224, allocations: 116.9 kB / 0.4888 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.892e-05/0.1225, allocations: 188.2 kB / 0.489 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.43e-05/0.1226, allocations: 176.3 kB / 0.4892 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001075/0.1227, allocations: 180.3 kB / 0.4894 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.033e-05/0.1228, allocations: 180.2 kB / 0.4895 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.123, allocations: 307.8 kB / 0.4898 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.1231, allocations: 112.9 kB / 0.4899 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.1232, allocations: 180.2 kB / 0.4901 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1234, allocations: 108.9 kB / 0.4902 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1235, allocations: 180.3 kB / 0.4904 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.1235, allocations: 104.9 kB / 0.4905 GB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.533e-05/0.1236, allocations: 95.27 kB / 0.4906 GB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1236, allocations: 0 / 0.4906 GB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.1239, allocations: 7.938 kB / 0.4906 GB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0005884/0.1245, allocations: 237.6 kB / 0.4908 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.93e-05/0.1246, allocations: 4 kB / 0.4908 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1246, allocations: 0 / 0.4908 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.1246, allocations: 0 / 0.4908 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.1252, allocations: 467 kB / 0.4913 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.1255, allocations: 172.2 kB / 0.4914 GB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/0.1256, allocations: 63.34 kB / 0.4915 GB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.1256, allocations: 4 kB / 0.4915 GB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.1256, allocations: 11.42 kB / 0.4915 GB, free: 11.57 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1256, allocations: 0 / 0.4915 GB, free: 11.57 MB / 366.1 MB Notification: Performance of Templates: time 0.00307/0.1287, allocations: 0.5296 MB / 0.492 GB, free: 11.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & ./ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.878418110311031] Failed to read output from testmodel.py, exit status != 0: 0.13719006441533566 0.155983109 0.033766614 Calling exit ...