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.001272/0.001273, allocations: 114 kB / 16.42 MB, free: 6.016 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.0009969/0.0009969, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01221/0.01221, allocations: 2.95 MB / 294.2 MB, free: 11.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 406.9 MB, free: 28.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06833/0.06958, allocations: 50.34 MB / 457.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002636/0.07223, allocations: 1.669 MB / 459 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.07439, allocations: 1.604 MB / 460.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.07446, allocations: 0 / 460.6 MB, free: 7.129 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.0002869/0.07476, allocations: 39.78 kB / 460.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.07509, allocations: 119.4 kB / 460.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.07534, allocations: 91.77 kB / 460.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.07549, allocations: 87.77 kB / 460.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.07558, allocations: 20.16 kB / 460.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.07567, allocations: 43.78 kB / 460.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.07584, allocations: 35.84 kB / 461 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.07587, allocations: 8 kB / 461 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.07616, allocations: 199.7 kB / 461.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.07622, allocations: 23.88 kB / 461.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.0763, allocations: 43.8 kB / 461.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.07663, allocations: 215.5 kB / 461.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.07665, allocations: 4 kB / 461.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07665, allocations: 0 / 461.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.07666, allocations: 0 / 461.5 MB, free: 6.211 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.0005503/0.07722, allocations: 460.8 kB / 461.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.07726, allocations: 11.89 kB / 461.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.0773, allocations: 8.844 kB / 461.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.07754, allocations: 200.1 kB / 462.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.07755, allocations: 4.375 kB / 462.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.07758, allocations: 12.12 kB / 462.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.07778, allocations: 91.38 kB / 462.2 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.0778, allocations: 3.938 kB / 462.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.07781, allocations: 0 / 462.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.07782, allocations: 0 / 462.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.07796, allocations: 55.91 kB / 462.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.07834, allocations: 313.6 kB / 462.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.0786, allocations: 97.12 kB / 462.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.07871, allocations: 61.83 kB / 462.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.07873, allocations: 0 / 462.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.07894, allocations: 138.7 kB / 462.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 4.298e-06/0.07895, allocations: 0 / 462.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004495/0.07941, allocations: 235.2 kB / 463.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.07947, allocations: 114.8 kB / 463.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.0796, allocations: 137.7 kB / 463.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.07963, allocations: 25.7 kB / 463.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.07968, allocations: 92.14 kB / 463.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.07971, allocations: 27.64 kB / 463.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.07977, allocations: 25.7 kB / 463.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.07989, allocations: 322.8 kB / 463.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.07998, allocations: 35.97 kB / 463.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.08008, allocations: 53.7 kB / 463.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.08028, allocations: 148.9 kB / 464.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.08029, allocations: 0 / 464.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003056/0.0806, allocations: 191.5 kB / 464.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.08065, allocations: 37.69 kB / 464.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.08066, allocations: 0 / 464.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.08068, allocations: 4 kB / 464.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.08075, allocations: 16 kB / 464.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.08076, allocations: 3.938 kB / 464.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.08083, allocations: 15.89 kB / 464.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.08085, allocations: 7.984 kB / 464.4 MB, free: 3 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.0001204/0.08098, allocations: 163.6 kB / 464.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.08102, allocations: 7.906 kB / 464.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.08105, allocations: 12.38 kB / 464.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.08106, allocations: 0 / 464.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.08106, allocations: 4 kB / 464.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.08112, allocations: 96.94 kB / 464.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.08116, allocations: 7.938 kB / 464.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.08123, allocations: 7.938 kB / 464.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.08128, allocations: 11.92 kB / 464.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004141/0.0817, allocations: 417.3 kB / 465.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004136/0.08212, allocations: 463.5 kB / 465.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001152/0.08225, allocations: 75.97 kB / 465.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.795e-05/0.08232, allocations: 107.2 kB / 465.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.08233, allocations: 0 / 465.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.08369, allocations: 0.5475 MB / 466.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005449/0.08425, allocations: 0.7053 MB / 467 MB, free: 380 kB / 334.1 MB Notification: Performance of Templates: time 0.005368/0.08963, allocations: 2.642 MB / 469.6 MB, free: 13.74 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)