Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001095/0.001095, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01198/0.01198, allocations: 2.966 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68.03 kB / 406.9 MB, free: 28.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07055/0.07174, allocations: 50.32 MB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002584/0.07435, allocations: 1.681 MB / 459 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.07638, allocations: 1.596 MB / 460.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.07644, allocations: 0 / 460.5 MB, free: 7.098 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.0002823/0.07673, allocations: 43.78 kB / 460.6 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.07705, allocations: 123.4 kB / 460.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.07727, allocations: 79.8 kB / 460.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.07741, allocations: 91.75 kB / 460.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.07751, allocations: 28.08 kB / 460.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.07759, allocations: 39.8 kB / 460.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.07776, allocations: 39.83 kB / 461 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.07779, allocations: 8 kB / 461 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.07812, allocations: 195.8 kB / 461.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.07818, allocations: 23.92 kB / 461.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.07824, allocations: 43.72 kB / 461.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.07855, allocations: 219.5 kB / 461.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.07857, allocations: 0 / 461.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.07857, allocations: 0 / 461.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.07858, allocations: 0 / 461.5 MB, free: 6.176 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.0005288/0.07911, allocations: 460.8 kB / 461.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.07915, allocations: 11.89 kB / 461.9 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.0792, allocations: 16.83 kB / 461.9 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.07942, allocations: 192.1 kB / 462.1 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.07944, allocations: 4.375 kB / 462.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.07946, allocations: 12.12 kB / 462.1 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.07967, allocations: 91.36 kB / 462.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.07969, allocations: 0 / 462.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.07971, allocations: 8 kB / 462.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.07972, allocations: 0 / 462.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.07986, allocations: 55.91 kB / 462.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.08024, allocations: 305.6 kB / 462.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.08048, allocations: 105.2 kB / 462.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.08059, allocations: 53.75 kB / 462.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.08061, allocations: 3.984 kB / 462.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.08081, allocations: 138.7 kB / 462.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 4.118e-06/0.08082, allocations: 4 kB / 462.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004772/0.08131, allocations: 223.2 kB / 463.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.08138, allocations: 118.7 kB / 463.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.08149, allocations: 141.2 kB / 463.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.08152, allocations: 29.7 kB / 463.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.08157, allocations: 92.3 kB / 463.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.08161, allocations: 31.62 kB / 463.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.08167, allocations: 25.72 kB / 463.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.08178, allocations: 322.8 kB / 463.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.235e-05/0.08187, allocations: 35.98 kB / 463.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.08197, allocations: 53.69 kB / 463.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.08217, allocations: 148.9 kB / 464.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.08218, allocations: 0 / 464.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002875/0.08247, allocations: 195.2 kB / 464.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.08252, allocations: 37.64 kB / 464.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.08253, allocations: 0 / 464.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.08255, allocations: 336 / 464.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.08262, allocations: 19.98 kB / 464.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.08263, allocations: 0 / 464.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.0827, allocations: 11.91 kB / 464.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.08272, allocations: 4 kB / 464.4 MB, free: 2.969 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 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,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.0001158/0.08284, allocations: 166.6 kB / 464.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.08287, allocations: 11.91 kB / 464.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.0829, allocations: 12.36 kB / 464.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.08291, allocations: 0 / 464.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08292, allocations: 4 kB / 464.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.08296, allocations: 88.95 kB / 464.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.083, allocations: 7.938 kB / 464.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.08307, allocations: 11.92 kB / 464.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.08311, allocations: 8 kB / 464.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004068/0.08353, allocations: 429.2 kB / 465.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004013/0.08394, allocations: 459.5 kB / 465.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001126/0.08406, allocations: 75.97 kB / 465.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.027e-05/0.08414, allocations: 103.3 kB / 465.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of Backend: time 2.7e-07/0.08415, allocations: 4 kB / 465.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.08548, allocations: 0.5382 MB / 466.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of SimCode: time 0.000555/0.08604, allocations: 0.7092 MB / 467 MB, free: 344 kB / 334.1 MB Notification: Performance of Templates: time 0.005405/0.09146, allocations: 2.646 MB / 469.6 MB, free: 13.7 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile (rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & ./ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1)