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.0007688/0.0007689, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008267/0.0008268, allocations: 177 kB / 16.92 MB, free: 6.648 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1169/0.1169, allocations: 2.953 MB / 295 MB, free: 3.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003122, allocations: 8 kB / 357.1 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08163, allocations: 51.34 MB / 408.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.001819/0.08346, allocations: 1.396 MB / 409.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.08556, allocations: 1.588 MB / 411.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.08563, allocations: 0 / 411.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.08589, allocations: 39.84 kB / 411.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.08618, allocations: 107.6 kB / 411.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.08645, allocations: 67.88 kB / 411.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.08657, allocations: 83.78 kB / 411.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.935e-05/0.08666, allocations: 16.2 kB / 411.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.08673, allocations: 35.84 kB / 411.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.08687, allocations: 31.84 kB / 411.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.08689, allocations: 4 kB / 411.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.08717, allocations: 191.7 kB / 412 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.08724, allocations: 23.92 kB / 412.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.08731, allocations: 65.48 kB / 412.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.08761, allocations: 179.9 kB / 412.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.08762, allocations: 0 / 412.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.08763, allocations: 0 / 412.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.08764, allocations: 0 / 412.3 MB, free: 12.06 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.0004838/0.08813, allocations: 444.9 kB / 412.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.08816, allocations: 8.031 kB / 412.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.08821, allocations: 12.84 kB / 412.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.0884, allocations: 208.1 kB / 413 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.08842, allocations: 4.375 kB / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.08845, allocations: 8.125 kB / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.0887, allocations: 103.3 kB / 413.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.08872, allocations: 0 / 413.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.08874, allocations: 0 / 413.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.08875, allocations: 4 kB / 413.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.0889, allocations: 67.91 kB / 413.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.08934, allocations: 317.6 kB / 413.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.08959, allocations: 117.2 kB / 413.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.08972, allocations: 65.73 kB / 413.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.08974, allocations: 4 kB / 413.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.08997, allocations: 142.8 kB / 413.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.08998, allocations: 0 / 413.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005212/0.09051, allocations: 255.2 kB / 414 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.09058, allocations: 110.8 kB / 414.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.0907, allocations: 148.1 kB / 414.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.09073, allocations: 29.7 kB / 414.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.09078, allocations: 92.14 kB / 414.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.09082, allocations: 27.55 kB / 414.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.09085, allocations: 17.72 kB / 414.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.09097, allocations: 326.8 kB / 414.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.09107, allocations: 39.98 kB / 414.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.09122, allocations: 61.69 kB / 414.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.09144, allocations: 165.1 kB / 415 MB, free: 9.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.09145, allocations: 0 / 415 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003198/0.09177, allocations: 207.1 kB / 415.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.09182, allocations: 37.7 kB / 415.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.09183, allocations: 4 kB / 415.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.09185, allocations: 4 kB / 415.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.09192, allocations: 19.92 kB / 415.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.09193, allocations: 0 / 415.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.09201, allocations: 8 kB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.09203, allocations: 3.938 kB / 415.3 MB, free: 8.742 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.0001196/0.09215, allocations: 167.8 kB / 415.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.09223, allocations: 11.91 kB / 415.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.09226, allocations: 16.3 kB / 415.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.09227, allocations: 4 kB / 415.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.09228, allocations: 4 kB / 415.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.09229, allocations: 0 / 415.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.09246, allocations: 217.4 kB / 415.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.09247, allocations: 0 / 415.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.09253, allocations: 11.94 kB / 415.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.09254, allocations: 4 kB / 415.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.09256, allocations: 7.984 kB / 415.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.09257, allocations: 7.938 kB / 415.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.09257, allocations: 0 / 415.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.09296, allocations: 259.5 kB / 416 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.09301, allocations: 96.94 kB / 416.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.09306, allocations: 4 kB / 416.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.09313, allocations: 8 kB / 416.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.09318, allocations: 11.98 kB / 416.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.0932, allocations: 7.938 kB / 416.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.09331, allocations: 107.3 kB / 416.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09333, allocations: 4 kB / 416.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.09364, allocations: 71.98 kB / 416.3 MB, free: 7.629 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.0008662/0.09451, allocations: 442.7 kB / 416.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.09484, allocations: 203.3 kB / 416.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.09485, allocations: 4 kB / 416.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.09503, allocations: 143.3 kB / 417.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.09526, allocations: 22.05 kB / 417.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.09573, allocations: 281.6 kB / 417.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.09597, allocations: 0.7005 MB / 418.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.09601, allocations: 15.42 kB / 418.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09601, allocations: 0 / 418.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Templates: time 0.004675/0.1007, allocations: 2.692 MB / 420.8 MB, free: 3.188 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)