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.0009045/0.0009045, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009464/0.0009464, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.105/1.105, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.01727/0.01727, allocations: 2.264 MB / 263.3 MB, free: 10.63 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.753e-06/1.753e-06, allocations: 0 / 334 MB, free: 1.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.56e-05, allocations: 2.312 kB / 334 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001849/0.001864, allocations: 0.774 MB / 334.8 MB, free: 296 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006954/0.00256, allocations: 0.8728 MB / 335.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.002597, allocations: 4 kB / 335.7 MB, free: 15.41 MB / 314.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.0002214/0.002819, allocations: 19.91 kB / 335.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.002932, allocations: 27.86 kB / 335.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.057e-05/0.002942, allocations: 4 kB / 335.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.617e-05/0.002989, allocations: 15.92 kB / 335.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.003022, allocations: 4 kB / 335.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.003053, allocations: 11.94 kB / 335.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.003104, allocations: 11.91 kB / 335.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.003114, allocations: 4 kB / 335.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.424e-05/0.003148, allocations: 8 kB / 335.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.003162, allocations: 7.938 kB / 335.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.003176, allocations: 8 kB / 335.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.902e-05/0.003265, allocations: 31.89 kB / 335.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003267, allocations: 0 / 335.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003267, allocations: 3.938 kB / 335.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003271, allocations: 0 / 335.8 MB, free: 15.25 MB / 314.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.0002357/0.003507, allocations: 356.6 kB / 336.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.003537, allocations: 8.031 kB / 336.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.00356, allocations: 4.938 kB / 336.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.00365, allocations: 120.5 kB / 336.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.003658, allocations: 384 / 336.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.003665, allocations: 4.375 kB / 336.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.84e-05/0.003723, allocations: 53.58 kB / 336.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.003729, allocations: 192 / 336.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.003737, allocations: 384 / 336.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.003744, allocations: 4.375 kB / 336.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.047e-06/0.003753, allocations: 3.938 kB / 336.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.003995, allocations: 0.5875 MB / 337 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.603e-05/0.004071, allocations: 265.5 kB / 337.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.004101, allocations: 130.9 kB / 337.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.004127, allocations: 119.2 kB / 337.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.004166, allocations: 156.6 kB / 337.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.004166, allocations: 0 / 337.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.111e-05/0.004217, allocations: 37.58 kB / 337.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.004273, allocations: 170.6 kB / 337.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.004351, allocations: 169.9 kB / 338 MB, free: 12.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.004359, allocations: 29.7 kB / 338 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.004396, allocations: 126.9 kB / 338.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.002e-06/0.004397, allocations: 0 / 338.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.004414, allocations: 15.38 kB / 338.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.004526, allocations: 0.4923 MB / 338.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-06/0.004528, allocations: 0 / 338.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/0.004531, allocations: 4 kB / 338.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.00456, allocations: 119.2 kB / 338.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-05/0.004591, allocations: 123.2 kB / 338.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.823e-05/0.004629, allocations: 33.64 kB / 338.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.004667, allocations: 129.8 kB / 339 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.004694, allocations: 123.1 kB / 339.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.706e-05/0.004751, allocations: 246.2 kB / 339.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-05/0.004778, allocations: 119.2 kB / 339.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.355e-05/0.004832, allocations: 242.4 kB / 339.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.004886, allocations: 135.1 kB / 339.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.004911, allocations: 123.2 kB / 340 MB, free: 10.85 MB / 314.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 0.0001158/0.005026, allocations: 395 kB / 340.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.00507, allocations: 148.8 kB / 340.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.005118, allocations: 160.3 kB / 340.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.676e-05/0.005175, allocations: 272 kB / 341 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.948e-05/0.005234, allocations: 276 kB / 341.2 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003564/0.005591, allocations: 268.1 kB / 341.5 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.005753, allocations: 484.5 kB / 342 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.005786, allocations: 148.9 kB / 342.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.005819, allocations: 149.1 kB / 342.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.837e-05/0.005877, allocations: 276 kB / 342.5 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.005933, allocations: 268.1 kB / 342.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.228e-05/0.005996, allocations: 268 kB / 343.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-05/0.006054, allocations: 272.1 kB / 343.3 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.006178, allocations: 443.9 kB / 343.7 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.00622, allocations: 152.9 kB / 343.9 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.00629, allocations: 272 kB / 344.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.006347, allocations: 148.9 kB / 344.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.006416, allocations: 272 kB / 344.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.00645, allocations: 144.9 kB / 344.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.006501, allocations: 131.2 kB / 344.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006501, allocations: 4 kB / 344.8 MB, free: 5.812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.006668, allocations: 4 kB / 344.9 MB, free: 5.809 MB / 314.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.000334/0.007002, allocations: 294.2 kB / 345.1 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 2.812e-05/0.00703, allocations: 4 kB / 345.1 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007031, allocations: 0 / 345.1 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-06/0.007035, allocations: 7.938 kB / 345.2 MB, free: 5.527 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.007381, allocations: 0.71 MB / 345.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.007571, allocations: 234.3 kB / 346.1 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.583e-05/0.007597, allocations: 51.36 kB / 346.1 MB, free: 4.484 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.064e-05/0.007607, allocations: 4 kB / 346.1 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.007643, allocations: 70.2 kB / 346.2 MB, free: 4.41 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.007643, allocations: 0 / 346.2 MB, free: 4.41 MB / 314.7 MB Notification: Performance of Templates: time 0.001823/0.009466, allocations: 0.6079 MB / 346.8 MB, free: 3.809 MB / 314.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: 3.0506208981387317]