Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01011/0.01011, allocations: 2.944 MB / 19.67 MB, free: 2.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 244.3 MB, free: 7.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 110.1 kB / 295.4 MB, free: 7.598 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 56.14 kB / 356.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2014, allocations: 50.33 MB / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002254/0.2037, allocations: 1.751 MB / 408.5 MB, free: 27.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.2052, allocations: 1.6 MB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.2053, allocations: 0 / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.2055, allocations: 43.84 kB / 410.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.2058, allocations: 95.66 kB / 410.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2059, allocations: 75.86 kB / 410.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.206, allocations: 87.77 kB / 410.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.2061, allocations: 16.17 kB / 410.4 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.2062, allocations: 31.86 kB / 410.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.2063, allocations: 35.83 kB / 410.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2063, allocations: 4 kB / 410.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.2065, allocations: 199.6 kB / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.2065, allocations: 23.91 kB / 410.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.2066, allocations: 35.8 kB / 410.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2068, allocations: 241.6 kB / 411 MB, free: 24.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.2068, allocations: 0 / 411 MB, free: 24.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2069, allocations: 0 / 411 MB, free: 24.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2069, allocations: 0 / 411 MB, free: 24.78 MB / 298.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.0004182/0.2073, allocations: 463.4 kB / 411.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.2073, allocations: 8.031 kB / 411.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2074, allocations: 12.83 kB / 411.5 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2075, allocations: 204.1 kB / 411.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.2075, allocations: 8.375 kB / 411.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2075, allocations: 8.109 kB / 411.7 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2077, allocations: 103.4 kB / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2077, allocations: 0 / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2077, allocations: 7.938 kB / 411.8 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2078, allocations: 0 / 411.8 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.2079, allocations: 55.97 kB / 411.9 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.2082, allocations: 321.6 kB / 412.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.2084, allocations: 109.2 kB / 412.3 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.2084, allocations: 57.75 kB / 412.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.2085, allocations: 7.984 kB / 412.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.2087, allocations: 142.7 kB / 412.5 MB, free: 23.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2087, allocations: 0 / 412.5 MB, free: 23.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003786/0.209, allocations: 247.2 kB / 412.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.2091, allocations: 106.8 kB / 412.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.2092, allocations: 149.9 kB / 413 MB, free: 22.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2092, allocations: 25.7 kB / 413 MB, free: 22.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.2092, allocations: 92.2 kB / 413.1 MB, free: 22.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2093, allocations: 31.62 kB / 413.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.2093, allocations: 25.72 kB / 413.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.2094, allocations: 330.7 kB / 413.5 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.2095, allocations: 39.98 kB / 413.5 MB, free: 22.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2095, allocations: 61.69 kB / 413.6 MB, free: 21.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2097, allocations: 161 kB / 413.7 MB, free: 21.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2097, allocations: 0 / 413.7 MB, free: 21.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002311/0.2099, allocations: 207.1 kB / 413.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.21, allocations: 33.7 kB / 414 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.21, allocations: 0 / 414 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.21, allocations: 0 / 414 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.21, allocations: 23.98 kB / 414 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2101, allocations: 0 / 414 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.2101, allocations: 11.94 kB / 414 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2101, allocations: 7.938 kB / 414 MB, free: 21.47 MB / 298.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 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.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.664e-05/0.2102, allocations: 159.9 kB / 414.2 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2102, allocations: 7.906 kB / 414.2 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.2103, allocations: 20.34 kB / 414.2 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.2103, allocations: 3.938 kB / 414.2 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2103, allocations: 0 / 414.2 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2103, allocations: 4 kB / 414.2 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.2104, allocations: 217.4 kB / 414.4 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2104, allocations: 4 kB / 414.4 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.2105, allocations: 8 kB / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2105, allocations: 3.984 kB / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2105, allocations: 4 kB / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2105, allocations: 0 / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2105, allocations: 0 / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.211, allocations: 0.884 MB / 415.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.211, allocations: 85.02 kB / 415.4 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.211, allocations: 11.94 kB / 415.4 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.2111, allocations: 7.984 kB / 415.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.2111, allocations: 0 / 415.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2112, allocations: 4 kB / 415.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.2112, allocations: 119.2 kB / 415.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2112, allocations: 0 / 415.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.2116, allocations: 75.98 kB / 415.6 MB, free: 19.71 MB / 298.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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.0007031/0.2123, allocations: 450.6 kB / 416 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.2125, allocations: 199.4 kB / 416.2 MB, free: 19.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2125, allocations: 0 / 416.2 MB, free: 19.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2127, allocations: 147.3 kB / 416.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.2129, allocations: 16 kB / 416.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.2133, allocations: 419.7 kB / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2134, allocations: 0.7004 MB / 417.5 MB, free: 17.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.2134, allocations: 8 kB / 417.5 MB, free: 17.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.2135, allocations: 23.42 kB / 417.5 MB, free: 17.8 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2135, allocations: 0 / 417.5 MB, free: 17.8 MB / 298.7 MB Notification: Performance of Templates: time 0.004461/0.2179, allocations: 2.59 MB / 420.1 MB, free: 15.21 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1)