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.0009107/0.0009107, allocations: 92.22 kB / 19.65 MB, free: 276 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.001021/0.001021, allocations: 169 kB / 23.02 MB, free: 1.547 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.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.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.008778/0.008778, allocations: 2.252 MB / 262.2 MB, free: 10.79 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.503e-06/1.503e-06, allocations: 0 / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.468e-05, allocations: 4.703 kB / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001227/0.001242, allocations: 0.7673 MB / 333.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005128/0.001755, allocations: 0.8726 MB / 334.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.001786, allocations: 0 / 334.4 MB, free: 14.8 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.0001987/0.001984, allocations: 27.84 kB / 334.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.002088, allocations: 27.81 kB / 334.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.528e-06/0.002098, allocations: 7.984 kB / 334.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.002142, allocations: 15.92 kB / 334.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.002174, allocations: 4 kB / 334.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.002202, allocations: 11.98 kB / 334.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.002249, allocations: 0 / 334.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.00226, allocations: 4 kB / 334.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.52e-05/0.002295, allocations: 15.94 kB / 334.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.002305, allocations: 3.984 kB / 334.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.00232, allocations: 4 kB / 334.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.975e-05/0.00241, allocations: 31.84 kB / 334.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002412, allocations: 4 kB / 334.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.002412, allocations: 0 / 334.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.002416, allocations: 3.938 kB / 334.6 MB, free: 14.64 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.0002185/0.002634, allocations: 360.6 kB / 334.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.002669, allocations: 8.031 kB / 334.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.002699, allocations: 8.891 kB / 335 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.966e-05/0.002769, allocations: 116.5 kB / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.002779, allocations: 4.375 kB / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.002788, allocations: 384 / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.621e-05/0.002854, allocations: 49.64 kB / 335.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.002863, allocations: 4.188 kB / 335.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.002871, allocations: 384 / 335.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.002878, allocations: 384 / 335.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.112e-05/0.002889, allocations: 11.88 kB / 335.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.003067, allocations: 0.5987 MB / 335.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.003109, allocations: 269.4 kB / 336 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.003123, allocations: 126.9 kB / 336.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.003133, allocations: 119.2 kB / 336.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.003153, allocations: 156.6 kB / 336.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.003154, allocations: 0 / 336.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.524e-05/0.003199, allocations: 37.59 kB / 336.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.003226, allocations: 170.6 kB / 336.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.003293, allocations: 177.9 kB / 336.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-06/0.003297, allocations: 25.7 kB / 336.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.003321, allocations: 134.9 kB / 336.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.003323, allocations: 0 / 336.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.003336, allocations: 15.38 kB / 336.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.00338, allocations: 496.1 kB / 337.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.003385, allocations: 0 / 337.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.003387, allocations: 7.938 kB / 337.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.069e-05/0.003398, allocations: 119.2 kB / 337.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.003409, allocations: 123.2 kB / 337.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.982e-05/0.003439, allocations: 33.69 kB / 337.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.003462, allocations: 128.1 kB / 337.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.003473, allocations: 123.1 kB / 338 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/0.003507, allocations: 246.4 kB / 338.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.265e-05/0.00352, allocations: 123.1 kB / 338.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.003537, allocations: 238.4 kB / 338.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.003572, allocations: 131.2 kB / 338.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.003588, allocations: 123.1 kB / 338.8 MB, free: 10.2 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.048e-05/0.003639, allocations: 391 kB / 339.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.003663, allocations: 156.8 kB / 339.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.003692, allocations: 160.4 kB / 339.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.003712, allocations: 272.1 kB / 339.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.003732, allocations: 268.1 kB / 340 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.003751, allocations: 268 kB / 340.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.539e-05/0.003836, allocations: 0.4921 MB / 340.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.003849, allocations: 148.8 kB / 340.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.003861, allocations: 148.9 kB / 341.1 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.989e-05/0.003881, allocations: 268.1 kB / 341.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.003903, allocations: 268.3 kB / 341.6 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.891e-05/0.003922, allocations: 276 kB / 341.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.131e-05/0.003943, allocations: 276 kB / 342.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.504e-05/0.003998, allocations: 444 kB / 342.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.004016, allocations: 148.9 kB / 342.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.004042, allocations: 268.1 kB / 343 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.004076, allocations: 156.8 kB / 343.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.004098, allocations: 268.1 kB / 343.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.00411, allocations: 148.8 kB / 343.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.679e-05/0.004136, allocations: 131.2 kB / 343.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004137, allocations: 0 / 343.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.0043, allocations: 7.984 kB / 343.7 MB, free: 5.137 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.0003159/0.004616, allocations: 302.5 kB / 344 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.363e-05/0.00465, allocations: 0 / 344 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.004651, allocations: 0 / 344 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.004652, allocations: 4 kB / 344 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.004898, allocations: 0.714 MB / 344.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.005087, allocations: 224 kB / 344.9 MB, free: 3.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.294e-05/0.00511, allocations: 59.2 kB / 344.9 MB, free: 3.812 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.323e-05/0.005123, allocations: 4 kB / 344.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.005141, allocations: 8.5 kB / 345 MB, free: 3.801 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.005142, allocations: 4 kB / 345 MB, free: 3.797 MB / 266.7 MB Notification: Performance of Templates: time 0.001927/0.007069, allocations: 0.5592 MB / 345.5 MB, free: 3.242 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.8101348006166518]