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.001232/0.001232, allocations: 109 kB / 16.41 MB, free: 6.496 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.001196/0.001196, allocations: 187 kB / 17.34 MB, free: 5.762 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01152/0.01152, allocations: 2.947 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.91 kB / 406.9 MB, free: 28.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07109/0.07221, allocations: 50.33 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002624/0.07486, allocations: 1.685 MB / 458.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.07683, allocations: 1.612 MB / 460.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.0769, allocations: 0 / 460.6 MB, free: 7.062 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:250:3-279:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.07718, allocations: 35.8 kB / 460.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.0775, allocations: 119.4 kB / 460.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.07774, allocations: 91.78 kB / 460.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.07789, allocations: 107.7 kB / 460.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.07799, allocations: 28.08 kB / 460.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.07806, allocations: 35.86 kB / 461 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.07822, allocations: 47.77 kB / 461 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.07825, allocations: 8 kB / 461 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.07853, allocations: 203.8 kB / 461.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.07859, allocations: 23.92 kB / 461.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.07866, allocations: 43.78 kB / 461.3 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.07898, allocations: 243.5 kB / 461.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.07899, allocations: 0 / 461.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.079, allocations: 0 / 461.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.07901, allocations: 0 / 461.5 MB, free: 6.09 MB / 334.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.0005407/0.07956, allocations: 460.8 kB / 462 MB, free: 5.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.0796, allocations: 11.89 kB / 462 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.07965, allocations: 8.844 kB / 462 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.07987, allocations: 204.2 kB / 462.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.07989, allocations: 4.375 kB / 462.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.07991, allocations: 8.125 kB / 462.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.08012, allocations: 103.3 kB / 462.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.08014, allocations: 4 kB / 462.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.08016, allocations: 0 / 462.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.08017, allocations: 4 kB / 462.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.08031, allocations: 59.97 kB / 462.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.08069, allocations: 329.5 kB / 462.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.08093, allocations: 105.3 kB / 462.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.08105, allocations: 61.69 kB / 462.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.08107, allocations: 7.984 kB / 462.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.08126, allocations: 142.8 kB / 463 MB, free: 4.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.785e-06/0.08127, allocations: 0 / 463 MB, free: 4.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004425/0.08172, allocations: 247.1 kB / 463.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.08179, allocations: 110.8 kB / 463.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.08191, allocations: 145.2 kB / 463.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.08193, allocations: 25.7 kB / 463.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.08198, allocations: 92.14 kB / 463.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.08201, allocations: 27.78 kB / 463.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.08207, allocations: 29.72 kB / 463.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.08218, allocations: 326.8 kB / 464 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.08227, allocations: 39.98 kB / 464 MB, free: 3.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.08237, allocations: 61.62 kB / 464.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.08257, allocations: 160.9 kB / 464.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.08258, allocations: 0 / 464.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002913/0.08288, allocations: 207.5 kB / 464.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.08292, allocations: 37.7 kB / 464.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.08293, allocations: 0 / 464.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.08295, allocations: 4 kB / 464.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.08301, allocations: 11.98 kB / 464.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.08303, allocations: 3.938 kB / 464.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.08309, allocations: 7.906 kB / 464.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.08311, allocations: 7.938 kB / 464.5 MB, free: 2.777 MB / 334.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.0001159/0.08323, allocations: 167.5 kB / 464.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.08327, allocations: 7.906 kB / 464.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.0833, allocations: 16.36 kB / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.08331, allocations: 0 / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.08331, allocations: 0 / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.08332, allocations: 4 kB / 464.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.08348, allocations: 217.5 kB / 464.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.0835, allocations: 3.938 kB / 464.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.08355, allocations: 8 kB / 464.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.08356, allocations: 3.984 kB / 464.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.08358, allocations: 8 kB / 464.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.08359, allocations: 0 / 464.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.08359, allocations: 0 / 464.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.08396, allocations: 267.5 kB / 465.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.084, allocations: 81.08 kB / 465.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.08404, allocations: 15.98 kB / 465.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.08411, allocations: 8 kB / 465.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.08415, allocations: 4 kB / 465.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.08417, allocations: 11.92 kB / 465.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.08426, allocations: 111.3 kB / 465.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08426, allocations: 0 / 465.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.08456, allocations: 79.86 kB / 465.5 MB, free: 1.672 MB / 334.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.0008031/0.08537, allocations: 436.5 kB / 465.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.08569, allocations: 203.3 kB / 466.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0857, allocations: 0 / 466.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.08587, allocations: 151.3 kB / 466.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.08609, allocations: 15.12 kB / 466.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.0865, allocations: 269 kB / 466.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.08675, allocations: 0.6924 MB / 467.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.08679, allocations: 11.44 kB / 467.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.08679, allocations: 0 / 467.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.004293/0.09109, allocations: 2.729 MB / 470 MB, free: 13.23 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)