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.0009847/0.0009847, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001161/0.001161, allocations: 177 kB / 23.36 MB, free: 1.129 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.01063/0.01063, allocations: 2.267 MB / 262.5 MB, free: 10.67 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.142e-06/1.142e-06, allocations: 0 / 280 MB, free: 9.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.796e-05, allocations: 8.984 kB / 280 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001609/0.001637, allocations: 0.8148 MB / 280.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.002388, allocations: 0.8728 MB / 281.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.002419, allocations: 0 / 281.7 MB, free: 7.48 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.0002041/0.002623, allocations: 23.86 kB / 281.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.002739, allocations: 39.78 kB / 281.8 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.878e-06/0.002749, allocations: 4 kB / 281.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.002794, allocations: 15.92 kB / 281.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.002826, allocations: 4 kB / 281.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.002858, allocations: 4 kB / 281.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.002912, allocations: 11.92 kB / 281.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.002923, allocations: 7.984 kB / 281.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.002964, allocations: 8 kB / 281.8 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.002974, allocations: 4 kB / 281.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.002988, allocations: 7.938 kB / 281.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.369e-05/0.003082, allocations: 35.89 kB / 281.9 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003084, allocations: 0 / 281.9 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003085, allocations: 3.938 kB / 281.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.003088, allocations: 0 / 281.9 MB, free: 7.312 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.0002153/0.003304, allocations: 236.9 kB / 282.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.003333, allocations: 8.031 kB / 282.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.003355, allocations: 8.938 kB / 282.1 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.003438, allocations: 109.8 kB / 282.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003447, allocations: 384 / 282.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-06/0.003451, allocations: 384 / 282.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.385e-05/0.003505, allocations: 39.98 kB / 282.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.003511, allocations: 4.188 kB / 282.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.003517, allocations: 384 / 282.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003523, allocations: 4.375 kB / 282.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.047e-06/0.003532, allocations: 11.86 kB / 282.3 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.003715, allocations: 375 kB / 282.7 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.003775, allocations: 181.1 kB / 282.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.003796, allocations: 80.14 kB / 282.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.003814, allocations: 79.22 kB / 283 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.003846, allocations: 113.8 kB / 283.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.003847, allocations: 4 kB / 283.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.584e-05/0.003903, allocations: 33.64 kB / 283.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.003942, allocations: 126.7 kB / 283.3 MB, free: 5.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.004012, allocations: 114.6 kB / 283.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.004019, allocations: 25.7 kB / 283.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.004047, allocations: 88.09 kB / 283.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-07/0.004048, allocations: 0 / 283.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.004064, allocations: 9.719 kB / 283.5 MB, free: 5.539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.004132, allocations: 318.8 kB / 283.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-06/0.004134, allocations: 0 / 283.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.004138, allocations: 0 / 283.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.71e-05/0.004155, allocations: 79.28 kB / 283.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.00417, allocations: 75.28 kB / 284 MB, free: 5.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.873e-05/0.004209, allocations: 33.69 kB / 284 MB, free: 5.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.004232, allocations: 79.28 kB / 284.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.00425, allocations: 83.22 kB / 284.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/0.00429, allocations: 158.5 kB / 284.3 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.682e-05/0.004307, allocations: 79.22 kB / 284.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.004339, allocations: 154.6 kB / 284.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.004383, allocations: 75.28 kB / 284.6 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.004401, allocations: 83.2 kB / 284.7 MB, free: 4.324 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 7.82e-05/0.004479, allocations: 264.4 kB / 284.9 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.004516, allocations: 101 kB / 285 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.004552, allocations: 112.4 kB / 285.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/0.00459, allocations: 188.2 kB / 285.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-05/0.004628, allocations: 176.3 kB / 285.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.866e-05/0.004667, allocations: 184.2 kB / 285.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.004789, allocations: 325.7 kB / 286 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/0.004815, allocations: 104.9 kB / 286.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.004839, allocations: 105 kB / 286.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.52e-05/0.004874, allocations: 180.3 kB / 286.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.004912, allocations: 184.2 kB / 286.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.731e-05/0.004949, allocations: 180.3 kB / 286.7 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000285/0.005234, allocations: 188.5 kB / 286.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.161e-05/0.005315, allocations: 311.7 kB / 287.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.005347, allocations: 109 kB / 287.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.005386, allocations: 176.3 kB / 287.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.005431, allocations: 112.9 kB / 287.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.005468, allocations: 176.3 kB / 287.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.005491, allocations: 108.9 kB / 287.9 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.169e-05/0.005512, allocations: 20.83 kB / 287.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005512, allocations: 0 / 287.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.005654, allocations: 11.94 kB / 287.9 MB, free: 0.8984 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.000388/0.006042, allocations: 253.3 kB / 288.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.794e-05/0.00607, allocations: 3.984 kB / 288.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.006074, allocations: 0 / 288.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.006075, allocations: 4 kB / 288.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.006309, allocations: 461.9 kB / 288.6 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.006483, allocations: 179.9 kB / 288.8 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08832/0.0948, allocations: 55.3 kB / 288.9 MB, free: 25.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.488e-05/0.09482, allocations: 3.281 kB / 288.9 MB, free: 25.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.09486, allocations: 50.59 kB / 288.9 MB, free: 25.6 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.09487, allocations: 2.031 kB / 288.9 MB, free: 25.6 MB / 266.7 MB Notification: Performance of Templates: time 0.002184/0.09705, allocations: 0.6105 MB / 289.5 MB, free: 25.58 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.499316562898457]