Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.0009443/0.0009443, 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.0009596/0.0009596, 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.015/1.015, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.01135/0.01135, allocations: 2.256 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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 333.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.156e-05, allocations: 2.312 kB / 333.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003147/0.003179, allocations: 1.715 MB / 335 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.005667, allocations: 1.742 MB / 336.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.005758, allocations: 0 / 336.7 MB, free: 12.68 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.006104, allocations: 43.66 kB / 336.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.006532, allocations: 127.4 kB / 336.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.006794, allocations: 87.72 kB / 336.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.006939, allocations: 87.75 kB / 337 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.007036, allocations: 12.16 kB / 337 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.007154, allocations: 51.89 kB / 337.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.007283, allocations: 27.91 kB / 337.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.007302, allocations: 7.938 kB / 337.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.007616, allocations: 187.7 kB / 337.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.007668, allocations: 15.92 kB / 337.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.007709, allocations: 27.91 kB / 337.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.008069, allocations: 235.3 kB / 337.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.008073, allocations: 0 / 337.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.008074, allocations: 4 kB / 337.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.008079, allocations: 0 / 337.6 MB, free: 11.78 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004646/0.008544, allocations: 493.4 kB / 338.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.008583, allocations: 8.031 kB / 338.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.008632, allocations: 16.88 kB / 338.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.008783, allocations: 140.4 kB / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.008796, allocations: 4.375 kB / 338.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.008807, allocations: 4.375 kB / 338.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.008965, allocations: 120 kB / 338.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.008975, allocations: 7.938 kB / 338.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.008984, allocations: 0 / 338.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00899, allocations: 4 kB / 338.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.009046, allocations: 57.59 kB / 338.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.009307, allocations: 276.1 kB / 338.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.009458, allocations: 104 kB / 338.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.0095, allocations: 61.06 kB / 338.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.009518, allocations: 7.938 kB / 338.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.009651, allocations: 167.8 kB / 339 MB, free: 10.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.009652, allocations: 0 / 339 MB, free: 10.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002787/0.009931, allocations: 218.6 kB / 339.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.009967, allocations: 110.8 kB / 339.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.01004, allocations: 185.9 kB / 339.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.01005, allocations: 25.7 kB / 339.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.01008, allocations: 142.9 kB / 339.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.01011, allocations: 27.73 kB / 339.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.01016, allocations: 39.34 kB / 339.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.01021, allocations: 0.4922 MB / 340.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.01024, allocations: 41.69 kB / 340.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.01028, allocations: 73.05 kB / 340.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.01035, allocations: 114.7 kB / 340.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01036, allocations: 0 / 340.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001729/0.01053, allocations: 184.8 kB / 340.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.01056, allocations: 37.69 kB / 340.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01056, allocations: 0 / 340.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01058, allocations: 4 kB / 340.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.01064, allocations: 12 kB / 340.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.01064, allocations: 0 / 340.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.01069, allocations: 7.984 kB / 340.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.0107, allocations: 12 kB / 340.7 MB, free: 8.262 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.874e-05/0.01078, allocations: 198.2 kB / 340.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.01081, allocations: 19.89 kB / 340.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.01083, allocations: 8.438 kB / 341 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01084, allocations: 4 kB / 341 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01084, allocations: 0 / 341 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01084, allocations: 0 / 341 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.01095, allocations: 129.1 kB / 341.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01095, allocations: 0 / 341.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.011, allocations: 8 kB / 341.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.011, allocations: 4 kB / 341.1 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01101, allocations: 11.92 kB / 341.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01101, allocations: 0 / 341.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01101, allocations: 0 / 341.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.01123, allocations: 247.3 kB / 341.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01125, allocations: 7.953 kB / 341.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01127, allocations: 11.94 kB / 341.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.01132, allocations: 4 kB / 341.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.01134, allocations: 3.984 kB / 341.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.01136, allocations: 8 kB / 341.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.01141, allocations: 146.4 kB / 341.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01141, allocations: 4 kB / 341.5 MB, free: 7.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.01172, allocations: 79.73 kB / 341.6 MB, free: 7.301 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001107/0.01283, allocations: 472.2 kB / 342.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.013, allocations: 182.4 kB / 342.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.013, allocations: 0 / 342.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.278e-05/0.01306, allocations: 124.8 kB / 342.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01329, allocations: 23.98 kB / 342.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.01365, allocations: 253.5 kB / 342.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.01368, allocations: 68.14 kB / 342.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01372, allocations: 8 kB / 342.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.01383, allocations: 102.2 kB / 342.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01383, allocations: 0 / 342.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of Templates: time 0.004114/0.01794, allocations: 2.902 MB / 345.7 MB, free: 3.215 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & ./ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.784943313803524]