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.001621/0.001621, allocations: 92.7 kB / 19.44 MB, free: 324 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.001968/0.001968, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.57 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.01728/0.01728, allocations: 2.26 MB / 261.8 MB, free: 10.77 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 2.986e-06/2.986e-06, allocations: 0 / 332.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.603e-05/3.901e-05, allocations: 2.312 kB / 332.1 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002596/0.002635, allocations: 0.7635 MB / 332.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.004002, allocations: 0.8417 MB / 333.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.004073, allocations: 4 kB / 333.7 MB, free: 15.14 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.0004236/0.004496, allocations: 23.86 kB / 333.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.004725, allocations: 23.86 kB / 333.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.531e-05/0.00474, allocations: 0 / 333.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.004816, allocations: 27.91 kB / 333.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.004873, allocations: 0 / 333.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.004923, allocations: 11.94 kB / 333.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.005065, allocations: 7.984 kB / 333.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.005084, allocations: 0 / 333.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.005926, allocations: 57.28 kB / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.005949, allocations: 3.938 kB / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.005999, allocations: 7.984 kB / 333.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.00621, allocations: 31.91 kB / 333.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.006217, allocations: 0 / 333.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.006219, allocations: 4 kB / 333.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.006225, allocations: 3.938 kB / 333.9 MB, free: 14.97 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.0004649/0.00669, allocations: 258.3 kB / 334.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.006748, allocations: 8.031 kB / 334.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.00682, allocations: 8.891 kB / 334.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.00699, allocations: 113.7 kB / 334.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.00701, allocations: 8.375 kB / 334.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.007021, allocations: 384 / 334.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.007143, allocations: 39.98 kB / 334.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007154, allocations: 192 / 334.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.007167, allocations: 4.375 kB / 334.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.007174, allocations: 384 / 334.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.007204, allocations: 11.88 kB / 334.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.007577, allocations: 423.3 kB / 334.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.007662, allocations: 173.1 kB / 334.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.007692, allocations: 84.14 kB / 335 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.00772, allocations: 79.22 kB / 335.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.007761, allocations: 109.8 kB / 335.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.007762, allocations: 0 / 335.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001105/0.007873, allocations: 37.59 kB / 335.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.007927, allocations: 126.7 kB / 335.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.008079, allocations: 117.8 kB / 335.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.00809, allocations: 25.7 kB / 335.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.008137, allocations: 84.14 kB / 335.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.00814, allocations: 0 / 335.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.008168, allocations: 17.7 kB / 335.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.008272, allocations: 310.8 kB / 335.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.008282, allocations: 0 / 335.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.00829, allocations: 3.938 kB / 335.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.5e-05/0.008325, allocations: 75.28 kB / 335.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/0.008348, allocations: 75.28 kB / 336 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.5e-05/0.008413, allocations: 33.7 kB / 336.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.008457, allocations: 91.22 kB / 336.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.008485, allocations: 75.28 kB / 336.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.674e-05/0.008551, allocations: 162.4 kB / 336.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-05/0.008573, allocations: 75.28 kB / 336.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.025e-05/0.008624, allocations: 158.5 kB / 336.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.008704, allocations: 75.28 kB / 336.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.008723, allocations: 75.28 kB / 336.8 MB, free: 11.89 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 9.624e-05/0.00882, allocations: 268.3 kB / 337 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.008877, allocations: 108.9 kB / 337.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.008925, allocations: 116.4 kB / 337.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-05/0.008968, allocations: 180.2 kB / 337.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.015e-05/0.009018, allocations: 180.3 kB / 337.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-05/0.009075, allocations: 188.2 kB / 337.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.009274, allocations: 353.1 kB / 338.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/0.009299, allocations: 109 kB / 338.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.009323, allocations: 108.9 kB / 338.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.282e-05/0.009366, allocations: 180.2 kB / 338.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.009417, allocations: 184.2 kB / 338.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.27e-05/0.009459, allocations: 180.2 kB / 338.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.179e-05/0.009501, allocations: 176.3 kB / 339 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.009628, allocations: 315.8 kB / 339.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.009682, allocations: 104.9 kB / 339.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.009742, allocations: 180.3 kB / 339.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.009824, allocations: 108.9 kB / 339.7 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.009877, allocations: 188.2 kB / 339.9 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.009902, allocations: 105 kB / 340 MB, free: 8.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.401e-05/0.009966, allocations: 83.28 kB / 340.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009966, allocations: 0 / 340.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.01032, allocations: 7.984 kB / 340.1 MB, free: 8.355 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.0006322/0.01096, allocations: 250.1 kB / 340.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.829e-05/0.01101, allocations: 7.938 kB / 340.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01102, allocations: 0 / 340.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-06/0.01102, allocations: 4 kB / 340.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.01149, allocations: 467.7 kB / 340.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.01185, allocations: 173.7 kB / 341 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.0119, allocations: 67.28 kB / 341 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.914e-05/0.01191, allocations: 0 / 341 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.01195, allocations: 16.5 kB / 341.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01195, allocations: 0 / 341.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of Templates: time 0.003662/0.01561, allocations: 0.5602 MB / 341.6 MB, free: 6.809 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.047562567982823]