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.001062/0.001062, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001156/0.001156, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.072/1.072, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.01036/0.01036, allocations: 2.259 MB / 262.5 MB, free: 10.84 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.724e-06/1.724e-06, allocations: 0 / 332.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.598e-05, allocations: 2.312 kB / 332.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001532/0.001558, allocations: 0.7655 MB / 333.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005686/0.002127, allocations: 0.8726 MB / 334.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.00217, allocations: 4 kB / 334.4 MB, free: 15.11 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.0002203/0.00239, allocations: 19.86 kB / 334.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.002505, allocations: 31.84 kB / 334.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.046e-05/0.002516, allocations: 0 / 334.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.002566, allocations: 15.94 kB / 334.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.002598, allocations: 3.984 kB / 334.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.002629, allocations: 11.94 kB / 334.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.002687, allocations: 4 kB / 334.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.002697, allocations: 0 / 334.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.002738, allocations: 15.97 kB / 334.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.002749, allocations: 11.94 kB / 334.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.002766, allocations: 4 kB / 334.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.002875, allocations: 23.92 kB / 334.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.002877, allocations: 0 / 334.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.002878, allocations: 3.938 kB / 334.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.002883, allocations: 3.938 kB / 334.6 MB, free: 14.96 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.0002306/0.003113, allocations: 364.6 kB / 334.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.003146, allocations: 8.031 kB / 335 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.003181, allocations: 8.891 kB / 335 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.003257, allocations: 116.6 kB / 335.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003267, allocations: 384 / 335.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.003274, allocations: 4.375 kB / 335.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.53e-05/0.003339, allocations: 57.62 kB / 335.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.003346, allocations: 192 / 335.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.003353, allocations: 384 / 335.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.003361, allocations: 384 / 335.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.113e-05/0.003372, allocations: 11.88 kB / 335.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.003547, allocations: 0.5948 MB / 335.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.003588, allocations: 269.4 kB / 336 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.003603, allocations: 130.9 kB / 336.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.003612, allocations: 119.2 kB / 336.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.003634, allocations: 160.6 kB / 336.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.003634, allocations: 0 / 336.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.337e-05/0.003688, allocations: 37.59 kB / 336.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.003714, allocations: 170.6 kB / 336.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.0038, allocations: 169.9 kB / 336.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-06/0.003804, allocations: 29.7 kB / 336.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.003825, allocations: 130.9 kB / 336.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.003827, allocations: 0 / 336.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.003842, allocations: 15.38 kB / 337 MB, free: 12.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.003878, allocations: 496.1 kB / 337.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/0.003882, allocations: 0 / 337.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.003885, allocations: 4 kB / 337.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.143e-05/0.003897, allocations: 127.2 kB / 337.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.003905, allocations: 119.2 kB / 337.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.115e-05/0.003936, allocations: 29.7 kB / 337.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.003955, allocations: 133.9 kB / 337.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.003966, allocations: 123.1 kB / 338 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.003991, allocations: 242.3 kB / 338.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-06/0.004001, allocations: 123.1 kB / 338.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.004019, allocations: 242.4 kB / 338.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.004055, allocations: 127.2 kB / 338.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.004065, allocations: 127.1 kB / 338.8 MB, free: 10.52 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 4.963e-05/0.004115, allocations: 403 kB / 339.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.004139, allocations: 148.8 kB / 339.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.004168, allocations: 160.4 kB / 339.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.004188, allocations: 268.1 kB / 339.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.004212, allocations: 272.1 kB / 340 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.004231, allocations: 272 kB / 340.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.778e-05/0.004319, allocations: 0.4884 MB / 340.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.00433, allocations: 152.8 kB / 340.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.004341, allocations: 148.9 kB / 341.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.00436, allocations: 268.1 kB / 341.3 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.00438, allocations: 272 kB / 341.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.004398, allocations: 272 kB / 341.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-05/0.004417, allocations: 268 kB / 342.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.707e-05/0.004484, allocations: 448 kB / 342.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.004505, allocations: 148.9 kB / 342.7 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.004533, allocations: 268.1 kB / 343 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.004566, allocations: 156.8 kB / 343.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.004588, allocations: 264.1 kB / 343.4 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.004599, allocations: 152.8 kB / 343.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.004629, allocations: 127.2 kB / 343.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.00463, allocations: 4 kB / 343.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.004804, allocations: 8 kB / 343.7 MB, free: 5.445 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.0003273/0.005132, allocations: 294.8 kB / 344 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.905e-05/0.005181, allocations: 4 kB / 344 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005182, allocations: 0 / 344 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.005183, allocations: 0 / 344 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.00543, allocations: 0.7062 MB / 344.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.00563, allocations: 228 kB / 344.9 MB, free: 4.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.739e-05/0.005657, allocations: 63.16 kB / 345 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.343e-05/0.005671, allocations: 4 kB / 345 MB, free: 4.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.005689, allocations: 16.48 kB / 345 MB, free: 4.105 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.00569, allocations: 0 / 345 MB, free: 4.105 MB / 266.7 MB Notification: Performance of Templates: time 0.002011/0.007701, allocations: 0.5608 MB / 345.5 MB, free: 3.555 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.858408549800515]