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.001798/0.001798, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.001885/0.001885, allocations: 173.3 kB / 22.77 MB, free: 1.641 MB / 18.57 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.01557/0.01557, allocations: 2.258 MB / 261.8 MB, free: 10.82 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.442e-06/1.442e-06, allocations: 0 / 332.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.148e-05, allocations: 6.312 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001614/0.001636, allocations: 0.7697 MB / 332.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006396/0.002275, allocations: 0.8456 MB / 333.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.002309, allocations: 0 / 333.7 MB, free: 15.17 MB / 266.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.0002076/0.002516, allocations: 23.88 kB / 333.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.002623, allocations: 27.84 kB / 333.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.045e-05/0.002634, allocations: 0 / 333.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.002679, allocations: 15.92 kB / 333.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.002711, allocations: 8 kB / 333.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.002746, allocations: 15.92 kB / 333.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.002825, allocations: 7.984 kB / 333.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.002836, allocations: 0 / 333.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.958e-05/0.002875, allocations: 15.94 kB / 333.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.002886, allocations: 3.938 kB / 333.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.002903, allocations: 4 kB / 333.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.002996, allocations: 35.89 kB / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002998, allocations: 0 / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002999, allocations: 0 / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.003002, allocations: 0 / 333.8 MB, free: 15.02 MB / 266.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.0002711/0.003273, allocations: 368.2 kB / 334.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.003303, allocations: 8.031 kB / 334.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.00334, allocations: 4.891 kB / 334.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.003425, allocations: 120.5 kB / 334.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.003436, allocations: 384 / 334.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.003443, allocations: 4.375 kB / 334.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.174e-05/0.003504, allocations: 45.64 kB / 334.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.003512, allocations: 192 / 334.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.003518, allocations: 384 / 334.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.003521, allocations: 384 / 334.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.003537, allocations: 23.86 kB / 334.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.003724, allocations: 0.5909 MB / 335 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.00378, allocations: 269.4 kB / 335.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.003797, allocations: 130.8 kB / 335.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.003814, allocations: 119.2 kB / 335.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.003837, allocations: 156.6 kB / 335.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003838, allocations: 0 / 335.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.816e-05/0.003896, allocations: 33.59 kB / 335.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.003921, allocations: 170.6 kB / 335.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.003994, allocations: 181.9 kB / 336 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-06/0.003998, allocations: 29.7 kB / 336.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.004022, allocations: 134.9 kB / 336.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.004023, allocations: 0 / 336.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.00404, allocations: 19.38 kB / 336.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.004088, allocations: 496.1 kB / 336.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-06/0.004091, allocations: 3.938 kB / 336.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-06/0.004094, allocations: 0 / 336.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.376e-05/0.004107, allocations: 119.2 kB / 336.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.004119, allocations: 119.2 kB / 336.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.053e-05/0.004159, allocations: 29.7 kB / 337 MB, free: 11.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.004188, allocations: 129.3 kB / 337.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.004202, allocations: 135.1 kB / 337.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.004232, allocations: 242.4 kB / 337.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-05/0.004244, allocations: 119.2 kB / 337.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.004267, allocations: 246.3 kB / 337.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.004319, allocations: 127.2 kB / 337.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.004332, allocations: 123.1 kB / 338.1 MB, free: 10.57 MB / 266.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 5.083e-05/0.004382, allocations: 395 kB / 338.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.004418, allocations: 156.8 kB / 338.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.004447, allocations: 156.5 kB / 338.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.004472, allocations: 272 kB / 339 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.004499, allocations: 268.1 kB / 339.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/0.004525, allocations: 272 kB / 339.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.004636, allocations: 499.9 kB / 340 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.004651, allocations: 152.9 kB / 340.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.004665, allocations: 152.8 kB / 340.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/0.004689, allocations: 264.1 kB / 340.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.004716, allocations: 272 kB / 340.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/0.00474, allocations: 268 kB / 341.1 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.387e-05/0.004764, allocations: 268 kB / 341.4 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.413e-05/0.004828, allocations: 448 kB / 341.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.004852, allocations: 152.8 kB / 342 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.004884, allocations: 268.1 kB / 342.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.004933, allocations: 157 kB / 342.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.004962, allocations: 272.1 kB / 342.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.004977, allocations: 152.9 kB / 342.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.263e-05/0.00501, allocations: 135.2 kB / 342.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00501, allocations: 0 / 342.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.005244, allocations: 4 kB / 342.9 MB, free: 5.492 MB / 266.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.0005471/0.005791, allocations: 284.4 kB / 343.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.521e-05/0.005826, allocations: 4 kB / 343.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.005828, allocations: 4 kB / 343.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.005829, allocations: 0 / 343.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.006143, allocations: 0.7207 MB / 343.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.006339, allocations: 227.5 kB / 344.2 MB, free: 4.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.862e-05/0.006367, allocations: 59.34 kB / 344.2 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.127e-05/0.006378, allocations: 3.938 kB / 344.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.006402, allocations: 20.48 kB / 344.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006403, allocations: 3.938 kB / 344.2 MB, free: 4.145 MB / 266.7 MB Notification: Performance of Templates: time 0.002714/0.009116, allocations: 0.5569 MB / 344.8 MB, free: 3.594 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: 4.172531540971249]