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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 188.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo): time 0.02449/0.02449, allocations: 3.209 MB / 309.5 MB, free: 5.402 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.88 kB / 431.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 53.17 MB / 484.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003039/0.11, allocations: 1.587 MB / 486.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1118, allocations: 1.107 MB / 487.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.1119, allocations: 4 kB / 487.3 MB, free: 11.66 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.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.0002773/0.1121, allocations: 23.86 kB / 487.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.1125, allocations: 103.6 kB / 487.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.442e-05/0.1125, allocations: 11.98 kB / 487.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.1126, allocations: 31.86 kB / 487.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.1127, allocations: 8 kB / 487.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.1127, allocations: 23.86 kB / 487.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1129, allocations: 27.03 kB / 487.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1129, allocations: 4 kB / 487.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.1131, allocations: 107.9 kB / 487.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1131, allocations: 11.94 kB / 487.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1132, allocations: 19.81 kB / 487.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1134, allocations: 123.6 kB / 487.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1134, allocations: 0 / 487.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1134, allocations: 0 / 487.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1134, allocations: 0 / 487.8 MB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005748/0.114, allocations: 313.8 kB / 488.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.114, allocations: 8.031 kB / 488.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.1141, allocations: 8.891 kB / 488.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1143, allocations: 114.5 kB / 488.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1143, allocations: 8.375 kB / 488.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1143, allocations: 384 / 488.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1145, allocations: 49.75 kB / 488.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1145, allocations: 4 kB / 488.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1145, allocations: 0 / 488.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1145, allocations: 4 kB / 488.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.1146, allocations: 19.98 kB / 488.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.1149, allocations: 247.9 kB / 488.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1151, allocations: 50.56 kB / 488.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.1152, allocations: 24.94 kB / 488.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.1152, allocations: 0 / 488.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1152, allocations: 38.55 kB / 488.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1152, allocations: 0 / 488.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000237/0.1155, allocations: 61.67 kB / 488.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1155, allocations: 51.41 kB / 488.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1156, allocations: 125.7 kB / 488.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1157, allocations: 29.7 kB / 488.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.1157, allocations: 84.12 kB / 489 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1157, allocations: 15.89 kB / 489 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.1158, allocations: 9.719 kB / 489.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1159, allocations: 322.8 kB / 489.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.116, allocations: 7.984 kB / 489.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.116, allocations: 15.98 kB / 489.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.1161, allocations: 29.22 kB / 489.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1161, allocations: 0 / 489.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001327/0.1162, allocations: 57.58 kB / 489.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1162, allocations: 8 kB / 489.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1163, allocations: 3.938 kB / 489.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1163, allocations: 0 / 489.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.1163, allocations: 7.984 kB / 489.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1163, allocations: 3.938 kB / 489.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.1164, allocations: 4 kB / 489.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1164, allocations: 4 kB / 489.5 MB, free: 9.293 MB / 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 9.45e-05/0.1165, allocations: 117.8 kB / 489.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1165, allocations: 0 / 489.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.1165, allocations: 12 kB / 489.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1165, allocations: 0 / 489.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1165, allocations: 0 / 489.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1165, allocations: 3.984 kB / 489.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1167, allocations: 136.6 kB / 489.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1167, allocations: 0 / 489.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.1168, allocations: 11.98 kB / 489.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1168, allocations: 8 kB / 489.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1168, allocations: 0 / 489.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1168, allocations: 0 / 489.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1168, allocations: 0 / 489.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1169, allocations: 155.4 kB / 489.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.117, allocations: 7.953 kB / 490 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.117, allocations: 0 / 490 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.117, allocations: 8 kB / 490 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.1171, allocations: 3.984 kB / 490 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1171, allocations: 0 / 490 MB, free: 8.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.682e-05/0.1171, allocations: 95.27 kB / 490.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1171, allocations: 0 / 490.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1174, allocations: 31.88 kB / 490.1 MB, free: 8.637 MB / 350.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.0009137/0.1183, allocations: 327.2 kB / 490.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1185, allocations: 31.86 kB / 490.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1185, allocations: 0 / 490.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.1185, allocations: 11.98 kB / 490.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1188, allocations: 8 kB / 490.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.1191, allocations: 130.2 kB / 490.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1195, allocations: 0.6883 MB / 491.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.43e-05/0.1195, allocations: 11.92 kB / 491.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.1196, allocations: 7.438 kB / 491.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1196, allocations: 0 / 491.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Templates: time 0.004889/0.1245, allocations: 1.411 MB / 492.7 MB, free: 6.039 MB / 350.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: 4.723503050394356] Failed to read output from testmodel.py, exit status != 0: 0.13200992532074451 0.148751545 0.03205448 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fae413497b0>