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.0006679/0.0006679, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000885/0.001553, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007169/0.0007169, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009654/0.001682, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9111/0.9111, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07537/0.9864, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.009207/0.009207, allocations: 2.261 MB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00221/0.01142, allocations: 1.418 MB / 247.6 MB, free: 11.18 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.582e-05, allocations: 5.406 kB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.00119/0.001206, allocations: 0.8191 MB / 249.7 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.001955, allocations: 0.8925 MB / 250.6 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.001987, allocations: 4 kB / 250.6 MB, free: 8.199 MB / 250.7 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.0001208/0.002108, allocations: 27.8 kB / 250.6 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.002199, allocations: 23.86 kB / 250.7 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.197e-06/0.002208, allocations: 0 / 250.7 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.002265, allocations: 19.92 kB / 250.7 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.002301, allocations: 3.984 kB / 250.7 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.002365, allocations: 19.92 kB / 250.7 MB, free: 8.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.00242, allocations: 4 kB / 250.7 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.002432, allocations: 4 kB / 250.7 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.712e-05/0.002479, allocations: 16 kB / 250.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.00249, allocations: 3.938 kB / 250.7 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.002507, allocations: 4 kB / 250.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.705e-05/0.002604, allocations: 27.91 kB / 250.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.002617, allocations: 0 / 250.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.002618, allocations: 0 / 250.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.002633, allocations: 3.938 kB / 250.8 MB, free: 8.043 MB / 250.7 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.0002576/0.00289, allocations: 240.5 kB / 251 MB, free: 7.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.00292, allocations: 8.031 kB / 251 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.002942, allocations: 4.938 kB / 251 MB, free: 7.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.59e-05/0.003028, allocations: 121.7 kB / 251.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003037, allocations: 384 / 251.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-06/0.003042, allocations: 4.375 kB / 251.1 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.923e-05/0.003102, allocations: 43.97 kB / 251.2 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.003108, allocations: 4.172 kB / 251.2 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.003113, allocations: 384 / 251.2 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.003117, allocations: 384 / 251.2 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.169e-05/0.003129, allocations: 15.88 kB / 251.2 MB, free: 7.547 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.003292, allocations: 375.1 kB / 251.6 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.156e-05/0.003343, allocations: 165.1 kB / 251.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.003362, allocations: 84.14 kB / 251.8 MB, free: 6.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.003378, allocations: 79.22 kB / 251.9 MB, free: 6.824 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.003413, allocations: 113.8 kB / 252 MB, free: 6.703 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.003414, allocations: 0 / 252 MB, free: 6.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.618e-05/0.00346, allocations: 33.66 kB / 252 MB, free: 6.664 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.003505, allocations: 134.7 kB / 252.2 MB, free: 6.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.003569, allocations: 110.7 kB / 252.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.003576, allocations: 25.7 kB / 252.3 MB, free: 6.367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.0036, allocations: 84.09 kB / 252.4 MB, free: 6.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-07/0.0036, allocations: 0 / 252.4 MB, free: 6.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.003617, allocations: 17.72 kB / 252.4 MB, free: 6.258 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.003679, allocations: 314.8 kB / 252.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-06/0.003682, allocations: 0 / 252.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.003686, allocations: 3.938 kB / 252.7 MB, free: 5.938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.655e-05/0.003702, allocations: 75.28 kB / 252.8 MB, free: 5.863 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.003719, allocations: 79.28 kB / 252.9 MB, free: 5.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.078e-05/0.00375, allocations: 29.69 kB / 252.9 MB, free: 5.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.003773, allocations: 83.28 kB / 253 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.003789, allocations: 75.28 kB / 253 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-05/0.003828, allocations: 166.4 kB / 253.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.885e-05/0.003847, allocations: 79.28 kB / 253.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/0.003874, allocations: 158.5 kB / 253.4 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.003915, allocations: 75.28 kB / 253.5 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.003931, allocations: 79.28 kB / 253.6 MB, free: 5.043 MB / 250.7 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 7.757e-05/0.004009, allocations: 264.3 kB / 253.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.004042, allocations: 105 kB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.004076, allocations: 104.5 kB / 254.1 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/0.004117, allocations: 188.4 kB / 254.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-05/0.004154, allocations: 188.3 kB / 254.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/0.004191, allocations: 180.2 kB / 254.6 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.00431, allocations: 317.4 kB / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/0.004335, allocations: 109 kB / 255 MB, free: 3.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.00436, allocations: 108.9 kB / 255.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.00439, allocations: 105 kB / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.906e-05/0.004429, allocations: 188.2 kB / 255.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.004468, allocations: 176.3 kB / 255.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.574e-05/0.004504, allocations: 180.2 kB / 255.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.889e-05/0.004543, allocations: 188.4 kB / 255.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.00463, allocations: 299.8 kB / 256.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.004675, allocations: 188.2 kB / 256.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.004719, allocations: 105 kB / 256.5 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.00476, allocations: 184.2 kB / 256.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.004786, allocations: 108.9 kB / 256.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.721e-05/0.004803, allocations: 16.83 kB / 256.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004803, allocations: 0 / 256.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.004938, allocations: 7.938 kB / 256.8 MB, free: 1.621 MB / 250.7 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.0003837/0.005322, allocations: 266 kB / 257.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 2.75e-05/0.005349, allocations: 3.938 kB / 257.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.005354, allocations: 4 kB / 257.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.005354, allocations: 0 / 257.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.005611, allocations: 478.4 kB / 257.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001666/0.005778, allocations: 175.9 kB / 257.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.461e-05/0.005803, allocations: 55.48 kB / 257.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.33e-05/0.005816, allocations: 8 kB / 257.8 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.005846, allocations: 47.38 kB / 257.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005847, allocations: 0 / 257.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of Templates: time 0.001969/0.007816, allocations: 0.6189 MB / 258.5 MB, free: 15.99 MB / 266.7 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3418766232207417]