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.001306/0.001306, allocations: 78.88 kB / 19.76 MB, free: 1.875 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.001457/0.001457, allocations: 159 kB / 23.01 MB, free: 4.59 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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.01393/0.01393, allocations: 2.27 MB / 262 MB, free: 14.41 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.00212/0.00212, allocations: 63.91 kB / 386.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, allocations: 54.33 MB / 440.6 MB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002198/0.111, allocations: 0.7734 MB / 441.4 MB, free: 10.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1121, allocations: 0.8258 MB / 442.2 MB, free: 9.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.1122, allocations: 4 kB / 442.2 MB, free: 9.715 MB / 414.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.0002188/0.1124, allocations: 27.86 kB / 442.3 MB, free: 9.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1125, allocations: 23.91 kB / 442.3 MB, free: 9.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.938e-06/0.1125, allocations: 4 kB / 442.3 MB, free: 9.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.1126, allocations: 15.94 kB / 442.3 MB, free: 9.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.1126, allocations: 3.984 kB / 442.3 MB, free: 9.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.1127, allocations: 11.94 kB / 442.3 MB, free: 9.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.1127, allocations: 11.92 kB / 442.3 MB, free: 9.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.1127, allocations: 0 / 442.3 MB, free: 9.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.017e-05/0.1128, allocations: 12 kB / 442.3 MB, free: 9.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.1128, allocations: 7.922 kB / 442.3 MB, free: 9.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.1128, allocations: 7.938 kB / 442.3 MB, free: 9.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1129, allocations: 35.91 kB / 442.4 MB, free: 9.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1129, allocations: 0 / 442.4 MB, free: 9.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1129, allocations: 7.938 kB / 442.4 MB, free: 9.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.113, allocations: 3.938 kB / 442.4 MB, free: 9.543 MB / 414.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.0003469/0.1133, allocations: 258.3 kB / 442.6 MB, free: 9.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1133, allocations: 12.03 kB / 442.7 MB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.1134, allocations: 0.9375 kB / 442.7 MB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1135, allocations: 110.5 kB / 442.8 MB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1135, allocations: 384 / 442.8 MB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.1135, allocations: 384 / 442.8 MB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.054e-05/0.1136, allocations: 51.91 kB / 442.8 MB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1136, allocations: 4.188 kB / 442.8 MB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1136, allocations: 7.938 kB / 442.8 MB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1136, allocations: 0 / 442.8 MB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.44e-05/0.1136, allocations: 0 / 442.8 MB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.114, allocations: 431.3 kB / 443.3 MB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1141, allocations: 165.1 kB / 443.4 MB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.1141, allocations: 84.08 kB / 443.5 MB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.1142, allocations: 79.28 kB / 443.6 MB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/0.1142, allocations: 113.8 kB / 443.7 MB, free: 8.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1142, allocations: 0 / 443.7 MB, free: 8.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.223e-05/0.1143, allocations: 29.64 kB / 443.7 MB, free: 8.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1144, allocations: 134.7 kB / 443.8 MB, free: 7.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1145, allocations: 109.8 kB / 444 MB, free: 7.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1145, allocations: 25.7 kB / 444 MB, free: 7.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.1146, allocations: 96.03 kB / 444.1 MB, free: 7.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.1146, allocations: 0 / 444.1 MB, free: 7.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.1146, allocations: 9.719 kB / 444.1 MB, free: 7.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1148, allocations: 310.8 kB / 444.4 MB, free: 7.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.1148, allocations: 4 kB / 444.4 MB, free: 7.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-06/0.1148, allocations: 0 / 444.4 MB, free: 7.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.1148, allocations: 75.28 kB / 444.5 MB, free: 7.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.259e-05/0.1149, allocations: 75.28 kB / 444.5 MB, free: 7.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.844e-05/0.1149, allocations: 53.64 kB / 444.6 MB, free: 7.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.115, allocations: 79.28 kB / 444.7 MB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.115, allocations: 75.28 kB / 444.7 MB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.594e-05/0.1151, allocations: 158.5 kB / 444.9 MB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.1151, allocations: 79.22 kB / 445 MB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.768e-05/0.1152, allocations: 150.6 kB / 445.1 MB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.1153, allocations: 83.22 kB / 445.2 MB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.1153, allocations: 75.28 kB / 445.3 MB, free: 6.469 MB / 414.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.0001524/0.1155, allocations: 268.4 kB / 445.5 MB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.1156, allocations: 104.9 kB / 445.6 MB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.1156, allocations: 116.4 kB / 445.8 MB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-05/0.1157, allocations: 180.2 kB / 445.9 MB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-05/0.1158, allocations: 188.2 kB / 446.1 MB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.96e-05/0.1159, allocations: 184.3 kB / 446.3 MB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.1161, allocations: 356.9 kB / 446.6 MB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/0.1162, allocations: 104.9 kB / 446.7 MB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.1162, allocations: 104.9 kB / 446.8 MB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-05/0.1163, allocations: 184.2 kB / 447 MB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.588e-05/0.1164, allocations: 176.3 kB / 447.2 MB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.368e-05/0.1165, allocations: 180.2 kB / 447.4 MB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.963e-05/0.1166, allocations: 188.2 kB / 447.6 MB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1168, allocations: 307.7 kB / 447.9 MB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.1168, allocations: 112.9 kB / 448 MB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.1169, allocations: 184.2 kB / 448.1 MB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.117, allocations: 101 kB / 448.2 MB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.1171, allocations: 180.5 kB / 448.4 MB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.1172, allocations: 108.9 kB / 448.5 MB, free: 3.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.1172, allocations: 95.27 kB / 448.6 MB, free: 2.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1172, allocations: 0 / 448.6 MB, free: 2.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1175, allocations: 4 kB / 448.6 MB, free: 2.926 MB / 414.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.0004852/0.118, allocations: 242.5 kB / 448.9 MB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.504e-05/0.118, allocations: 8 kB / 448.9 MB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.118, allocations: 0 / 448.9 MB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-06/0.118, allocations: 4 kB / 448.9 MB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.1186, allocations: 463.6 kB / 449.3 MB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.1188, allocations: 180 kB / 449.5 MB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.684e-05/0.1189, allocations: 63.28 kB / 449.6 MB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.248e-05/0.1189, allocations: 0 / 449.6 MB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.1189, allocations: 16.48 kB / 449.6 MB, free: 1.934 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1189, allocations: 0 / 449.6 MB, free: 1.934 MB / 414.1 MB Notification: Performance of Templates: time 0.002878/0.1218, allocations: 0.5358 MB / 450.1 MB, free: 1.398 MB / 414.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 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.362602007924579] Failed to read output from testmodel.py, exit status != 0: 0.13063514803070575 0.14556644200000002 0.029303881 Calling exit ...