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.001516/0.001516, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001666/0.001666, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01229/0.01229, allocations: 2.947 MB / 294.2 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 406.9 MB, free: 28.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06786/0.06904, allocations: 50.34 MB / 457.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002592/0.07167, allocations: 1.677 MB / 459 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.07371, allocations: 1.6 MB / 460.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.07378, allocations: 4 kB / 460.6 MB, free: 6.988 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.0002741/0.07406, allocations: 43.77 kB / 460.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.07436, allocations: 115.5 kB / 460.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.0746, allocations: 95.77 kB / 460.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.07474, allocations: 107.7 kB / 460.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.07483, allocations: 16.17 kB / 460.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.07491, allocations: 51.77 kB / 461 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.07506, allocations: 35.84 kB / 461 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.07509, allocations: 11.94 kB / 461 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.07538, allocations: 203.8 kB / 461.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.07544, allocations: 19.92 kB / 461.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.07551, allocations: 47.8 kB / 461.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.07584, allocations: 247.4 kB / 461.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.07585, allocations: 4 kB / 461.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07586, allocations: 0 / 461.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.07587, allocations: 0 / 461.5 MB, free: 6.004 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.000523/0.07639, allocations: 452.8 kB / 462 MB, free: 5.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.07644, allocations: 15.89 kB / 462 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.07649, allocations: 12.84 kB / 462 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.07672, allocations: 200.2 kB / 462.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.07674, allocations: 4.375 kB / 462.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.07676, allocations: 12.12 kB / 462.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.07697, allocations: 99.31 kB / 462.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.07699, allocations: 0 / 462.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.07701, allocations: 4 kB / 462.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.07702, allocations: 0 / 462.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.07717, allocations: 55.97 kB / 462.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.07755, allocations: 333.5 kB / 462.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.07779, allocations: 101.3 kB / 462.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.07792, allocations: 65.89 kB / 462.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.07794, allocations: 4 kB / 462.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.07814, allocations: 146.7 kB / 463 MB, free: 4.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.036e-06/0.07815, allocations: 0 / 463 MB, free: 4.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004616/0.07862, allocations: 251.1 kB / 463.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.07868, allocations: 110.8 kB / 463.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.07881, allocations: 149.1 kB / 463.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.07883, allocations: 33.69 kB / 463.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.07888, allocations: 88.14 kB / 463.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.07892, allocations: 27.64 kB / 463.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.07897, allocations: 21.72 kB / 463.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.07908, allocations: 322.8 kB / 464 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.07918, allocations: 39.98 kB / 464 MB, free: 3.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-05/0.07929, allocations: 65.69 kB / 464.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.0795, allocations: 168.9 kB / 464.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.07951, allocations: 0 / 464.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003123/0.07983, allocations: 199.2 kB / 464.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.07988, allocations: 37.7 kB / 464.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.07989, allocations: 0 / 464.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.0799, allocations: 0 / 464.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.07997, allocations: 15.98 kB / 464.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.07998, allocations: 4 kB / 464.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.08006, allocations: 7.906 kB / 464.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.08008, allocations: 8 kB / 464.5 MB, free: 2.695 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.0001179/0.0802, allocations: 167.4 kB / 464.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.08024, allocations: 11.91 kB / 464.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.08027, allocations: 12.36 kB / 464.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.08028, allocations: 4 kB / 464.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.08028, allocations: 0 / 464.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.08034, allocations: 92.95 kB / 464.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.08037, allocations: 7.938 kB / 464.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.08045, allocations: 15.92 kB / 464.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.08049, allocations: 0 / 464.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004292/0.08092, allocations: 437.2 kB / 465.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004213/0.08136, allocations: 479.7 kB / 465.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000122/0.08149, allocations: 88.44 kB / 465.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.08157, allocations: 103.3 kB / 465.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Backend: time 2.7e-07/0.08158, allocations: 3.938 kB / 465.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.08288, allocations: 0.5465 MB / 466.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005625/0.08346, allocations: 0.7132 MB / 467.2 MB, free: 8 kB / 334.1 MB Notification: Performance of Templates: time 0.005526/0.089, allocations: 2.782 MB / 470 MB, free: 13.24 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)