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.001028/0.001028, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001364/0.001364, allocations: 169 kB / 23.27 MB, free: 1.223 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.059/1.059, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.01175/0.01175, allocations: 2.263 MB / 262.5 MB, free: 10.64 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 8.72e-07/8.72e-07, allocations: 0 / 333.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.226e-05, allocations: 4.703 kB / 333.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001558/0.00158, allocations: 0.7751 MB / 334 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000635/0.002215, allocations: 0.8728 MB / 334.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.002254, allocations: 0 / 334.9 MB, free: 14.51 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.0002181/0.002472, allocations: 19.91 kB / 334.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.00259, allocations: 35.73 kB / 334.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.358e-06/0.002599, allocations: 0 / 334.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.431e-05/0.002643, allocations: 19.92 kB / 335 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.002677, allocations: 3.984 kB / 335 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.002717, allocations: 4 kB / 335 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.002774, allocations: 8 kB / 335 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.002784, allocations: 4 kB / 335 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.002827, allocations: 19.92 kB / 335 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.002839, allocations: 4 kB / 335 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.332e-05/0.002852, allocations: 0 / 335 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.928e-05/0.002951, allocations: 31.84 kB / 335 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002953, allocations: 0 / 335 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002954, allocations: 0 / 335 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.002958, allocations: 0 / 335 MB, free: 14.36 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.0002179/0.003176, allocations: 368.6 kB / 335.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.003213, allocations: 8.031 kB / 335.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.003239, allocations: 8.891 kB / 335.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.425e-05/0.003303, allocations: 120.5 kB / 335.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.003313, allocations: 384 / 335.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-06/0.003318, allocations: 384 / 335.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.07e-05/0.003378, allocations: 57.56 kB / 335.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003385, allocations: 192 / 335.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-06/0.003391, allocations: 384 / 335.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.003396, allocations: 384 / 335.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-06/0.003404, allocations: 7.938 kB / 335.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.00357, allocations: 0.5798 MB / 336.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/0.003611, allocations: 265.4 kB / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.003629, allocations: 134.9 kB / 336.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.00364, allocations: 119.2 kB / 336.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.003665, allocations: 156.5 kB / 336.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.003666, allocations: 0 / 336.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.377e-05/0.00372, allocations: 37.59 kB / 336.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.003744, allocations: 174.6 kB / 337 MB, free: 12.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.003808, allocations: 165.9 kB / 337.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-06/0.003811, allocations: 25.7 kB / 337.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.003834, allocations: 134.9 kB / 337.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-07/0.003835, allocations: 0 / 337.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.003853, allocations: 19.38 kB / 337.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.003898, allocations: 496.1 kB / 337.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-06/0.0039, allocations: 0 / 337.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-06/0.003904, allocations: 3.938 kB / 337.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.068e-05/0.003914, allocations: 119.2 kB / 338 MB, free: 11.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.003923, allocations: 119.2 kB / 338.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.09e-05/0.003964, allocations: 33.89 kB / 338.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.003985, allocations: 131.2 kB / 338.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.004, allocations: 123.2 kB / 338.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.004032, allocations: 250.2 kB / 338.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.329e-05/0.004045, allocations: 119.2 kB / 338.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.004064, allocations: 250.3 kB / 339 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.004114, allocations: 123.2 kB / 339.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.004124, allocations: 119.2 kB / 339.2 MB, free: 9.945 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.311e-05/0.004177, allocations: 398.9 kB / 339.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.00421, allocations: 156.8 kB / 339.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.004239, allocations: 156.6 kB / 339.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.004262, allocations: 276 kB / 340.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.004283, allocations: 264.1 kB / 340.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.004303, allocations: 268.1 kB / 340.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.004416, allocations: 484.5 kB / 341.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.00443, allocations: 148.9 kB / 341.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.004443, allocations: 148.8 kB / 341.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/0.004465, allocations: 276.1 kB / 341.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.00449, allocations: 264.1 kB / 342 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.46e-05/0.004515, allocations: 268 kB / 342.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/0.004536, allocations: 268.1 kB / 342.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.993e-05/0.004606, allocations: 451.9 kB / 343 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.004629, allocations: 152.9 kB / 343.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.004657, allocations: 268 kB / 343.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/0.004705, allocations: 144.9 kB / 343.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.004732, allocations: 283.9 kB / 343.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.004746, allocations: 144.9 kB / 343.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.004776, allocations: 131.2 kB / 344.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004776, allocations: 0 / 344.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.00501, allocations: 0 / 344.1 MB, free: 4.91 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.0003555/0.005366, allocations: 307.7 kB / 344.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.599e-05/0.005402, allocations: 7.938 kB / 344.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005403, allocations: 0 / 344.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.005404, allocations: 0 / 344.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.005698, allocations: 0.7128 MB / 345.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/0.005866, allocations: 228 kB / 345.3 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.15e-05/0.005887, allocations: 59.2 kB / 345.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.201e-05/0.005899, allocations: 0 / 345.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.005928, allocations: 70.2 kB / 345.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005928, allocations: 0 / 345.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of Templates: time 0.00212/0.008048, allocations: 0.6171 MB / 346.1 MB, free: 2.895 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.767351655755192]