Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.001369/0.001369, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001642/0.001642, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.0161/0.0161, allocations: 3.265 MB / 316.5 MB, free: 15.82 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.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") [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.002152/0.002152, allocations: 63.91 kB / 440.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1022, allocations: 54.38 MB / 495.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003309/0.1055, allocations: 1.577 MB / 496.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1074, allocations: 1.126 MB / 497.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.1074, allocations: 4 kB / 497.9 MB, free: 2.586 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1077, allocations: 35.78 kB / 497.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.1081, allocations: 103.5 kB / 498 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.021e-05/0.1082, allocations: 11.98 kB / 498.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.106e-05/0.1083, allocations: 27.92 kB / 498.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.1084, allocations: 11.94 kB / 498.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.1084, allocations: 7.984 kB / 498.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1086, allocations: 31.84 kB / 498.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1086, allocations: 4 kB / 498.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.1088, allocations: 111.8 kB / 498.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.1089, allocations: 12 kB / 498.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.1089, allocations: 19.86 kB / 498.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1092, allocations: 115.6 kB / 498.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1092, allocations: 7.938 kB / 498.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1092, allocations: 0 / 498.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1092, allocations: 0 / 498.4 MB, free: 2.094 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005076/0.1097, allocations: 305.9 kB / 498.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1097, allocations: 8.031 kB / 498.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.1098, allocations: 8.891 kB / 498.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.11, allocations: 126.5 kB / 498.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.11, allocations: 8.375 kB / 498.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1101, allocations: 384 / 498.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1102, allocations: 49.81 kB / 498.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1102, allocations: 0 / 498.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1102, allocations: 0 / 498.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1102, allocations: 0 / 498.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.1103, allocations: 27.91 kB / 498.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1107, allocations: 240 kB / 499.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1109, allocations: 42.62 kB / 499.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.1109, allocations: 16.94 kB / 499.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.111, allocations: 4 kB / 499.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.111, allocations: 34.5 kB / 499.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.111, allocations: 7.938 kB / 499.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002525/0.1112, allocations: 69.62 kB / 499.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1113, allocations: 51.41 kB / 499.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1114, allocations: 117.7 kB / 499.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1114, allocations: 29.7 kB / 499.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.1115, allocations: 84.14 kB / 499.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1115, allocations: 15.89 kB / 499.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.1115, allocations: 17.72 kB / 499.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1117, allocations: 318.8 kB / 499.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.1117, allocations: 11.98 kB / 500 MB, free: 364 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.331e-05/0.1117, allocations: 11.94 kB / 500 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.1118, allocations: 28.83 kB / 500 MB, free: 320 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1118, allocations: 4 kB / 0.4883 GB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.1119, allocations: 49.69 kB / 0.4883 GB, free: 260 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.112, allocations: 8 kB / 0.4883 GB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.112, allocations: 0 / 0.4883 GB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.112, allocations: 4 kB / 0.4883 GB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.785e-05/0.112, allocations: 7.984 kB / 0.4883 GB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.112, allocations: 3.984 kB / 0.4884 GB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.1121, allocations: 4.328 kB / 0.4884 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.1121, allocations: 0 / 0.4884 GB, free: 232 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 (3): * Single equations (assignments): 3 * 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 8.441e-05/0.1121, allocations: 117.7 kB / 0.4885 GB, free: 104 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1122, allocations: 7.953 kB / 0.4885 GB, free: 96 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.1122, allocations: 15.98 kB / 0.4885 GB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1122, allocations: 3.984 kB / 0.4885 GB, free: 68 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1122, allocations: 0 / 0.4885 GB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1122, allocations: 4 kB / 0.4885 GB, free: 64 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.1124, allocations: 136.7 kB / 0.4886 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1124, allocations: 4 kB / 0.4886 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.1124, allocations: 4 kB / 0.4886 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1124, allocations: 0 / 0.4886 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1125, allocations: 0 / 0.4886 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.1125, allocations: 4 kB / 0.4886 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1125, allocations: 4 kB / 0.4886 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1126, allocations: 155.4 kB / 0.4888 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.1127, allocations: 11.94 kB / 0.4888 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1127, allocations: 0 / 0.4888 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.1127, allocations: 7.984 kB / 0.4888 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.1127, allocations: 3.938 kB / 0.4888 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.1127, allocations: 384 / 0.4888 GB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.586e-05/0.1128, allocations: 99.2 kB / 0.4889 GB, free: 15.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1128, allocations: 0 / 0.4889 GB, free: 15.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000314/0.1131, allocations: 43.8 kB / 0.489 GB, free: 15.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 (3): * Single equations (assignments): 3 * 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.0008664/0.114, allocations: 296.6 kB / 0.4892 GB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1141, allocations: 35.92 kB / 0.4893 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1141, allocations: 0 / 0.4893 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.1142, allocations: 19.92 kB / 0.4893 GB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1145, allocations: 10.34 kB / 0.4893 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.1148, allocations: 159.2 kB / 0.4894 GB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1151, allocations: 0.6807 MB / 0.4901 GB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1152, allocations: 15.42 kB / 0.4901 GB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1152, allocations: 4 kB / 0.4901 GB, free: 14.34 MB / 366.1 MB Notification: Performance of Templates: time 0.003774/0.1189, allocations: 1.577 MB / 0.4917 GB, free: 12.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.INITest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & ./ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.138454076135531] Failed to read output from testmodel.py, exit status != 0: 0.1271031592041254 0.325906594 0.030732133000000002 Calling exit ...