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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005362/0.005362, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 195.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1222/0.1222, allocations: 2.935 MB / 293.6 MB, free: 3.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.91 kB / 354.7 MB, free: 4.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08017/0.08136, allocations: 50.33 MB / 405 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002801/0.0842, allocations: 1.751 MB / 406.7 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.08632, allocations: 1.608 MB / 408.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.0864, allocations: 4 kB / 408.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.08666, allocations: 35.84 kB / 408.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.08696, allocations: 95.66 kB / 408.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.08718, allocations: 75.86 kB / 408.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.08729, allocations: 79.78 kB / 408.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.075e-05/0.08738, allocations: 28.19 kB / 408.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.08745, allocations: 31.86 kB / 408.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.08759, allocations: 39.78 kB / 408.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.08761, allocations: 4 kB / 408.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.08789, allocations: 191.8 kB / 408.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.08795, allocations: 23.91 kB / 408.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.08801, allocations: 35.75 kB / 409 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.08826, allocations: 179.9 kB / 409.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.08827, allocations: 0 / 409.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.08827, allocations: 0 / 409.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.08828, allocations: 4 kB / 409.2 MB, free: 13.62 MB / 350.1 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.0005279/0.08882, allocations: 462.9 kB / 409.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.08886, allocations: 12.03 kB / 409.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.08891, allocations: 8.844 kB / 409.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.0891, allocations: 200.1 kB / 409.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.08911, allocations: 384 / 409.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.08914, allocations: 12.12 kB / 409.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.08936, allocations: 103.3 kB / 409.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.08938, allocations: 0 / 409.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.0894, allocations: 0 / 409.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.08941, allocations: 4 kB / 409.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.08956, allocations: 55.97 kB / 410 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.08994, allocations: 321.7 kB / 410.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.09019, allocations: 105.2 kB / 410.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.09031, allocations: 73.7 kB / 410.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.09033, allocations: 4 kB / 410.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.09057, allocations: 146.8 kB / 410.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.09058, allocations: 0 / 410.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004739/0.09106, allocations: 243.2 kB / 410.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.09112, allocations: 110.8 kB / 411 MB, free: 11.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.09124, allocations: 143.4 kB / 411.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.09127, allocations: 29.7 kB / 411.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.09132, allocations: 92.14 kB / 411.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.09135, allocations: 31.55 kB / 411.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.09141, allocations: 25.72 kB / 411.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.09151, allocations: 322.8 kB / 411.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.09161, allocations: 43.97 kB / 411.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.09171, allocations: 61.64 kB / 411.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.09192, allocations: 157 kB / 411.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.09193, allocations: 4 kB / 411.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003108/0.09224, allocations: 199.5 kB / 412.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.09229, allocations: 41.69 kB / 412.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.0923, allocations: 4.047 kB / 412.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.09232, allocations: 3.984 kB / 412.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.09238, allocations: 8 kB / 412.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.0924, allocations: 320 / 412.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.09247, allocations: 19.83 kB / 412.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.0925, allocations: 11.94 kB / 412.1 MB, free: 10.31 MB / 350.1 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 0.0001181/0.09262, allocations: 163.6 kB / 412.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.09266, allocations: 15.84 kB / 412.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.09268, allocations: 8.375 kB / 412.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.09269, allocations: 4 kB / 412.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.0927, allocations: 0 / 412.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.09271, allocations: 0 / 412.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.09287, allocations: 209.5 kB / 412.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.09288, allocations: 0 / 412.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.09294, allocations: 15.98 kB / 412.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.09295, allocations: 0 / 412.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.09297, allocations: 4 kB / 412.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.09297, allocations: 0 / 412.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.09298, allocations: 4 kB / 412.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.09337, allocations: 263.4 kB / 412.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.09343, allocations: 96.94 kB / 412.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.09347, allocations: 8 kB / 412.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.09353, allocations: 4 kB / 412.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.09357, allocations: 7.984 kB / 412.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.0936, allocations: 12 kB / 412.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.09368, allocations: 109.4 kB / 413 MB, free: 9.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09369, allocations: 3.938 kB / 413.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.09399, allocations: 75.98 kB / 413.1 MB, free: 9.215 MB / 350.1 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.0008284/0.09483, allocations: 437.6 kB / 413.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.09515, allocations: 203.3 kB / 413.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09516, allocations: 0 / 413.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.09533, allocations: 143.3 kB / 413.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.09555, allocations: 23.98 kB / 413.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.09598, allocations: 274.8 kB / 414.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.09622, allocations: 0.6965 MB / 414.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.09626, allocations: 15.42 kB / 414.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09627, allocations: 0 / 414.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Templates: time 0.004266/0.1005, allocations: 2.71 MB / 417.6 MB, free: 4.773 MB / 350.1 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)