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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.008012/0.008012, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.00176/0.00176, allocations: 194 kB / 16.67 MB, free: 5.969 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1867/0.1867, allocations: 2.935 MB / 293.5 MB, free: 3.203 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 406.3 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 50.34 MB / 456.6 MB, free: 28.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002952/0.3213, allocations: 1.668 MB / 458.3 MB, free: 27.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3234, allocations: 1.6 MB / 459.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.3235, allocations: 0 / 459.9 MB, free: 25.96 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.0004874/0.324, allocations: 39.38 kB / 459.9 MB, free: 25.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.3244, allocations: 122.6 kB / 460 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.3247, allocations: 86.77 kB / 460.1 MB, free: 25.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3248, allocations: 87.25 kB / 460.2 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3249, allocations: 21.7 kB / 460.2 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.397e-05/0.325, allocations: 38.67 kB / 460.3 MB, free: 25.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.3252, allocations: 44.86 kB / 460.3 MB, free: 25.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3252, allocations: 6.188 kB / 460.3 MB, free: 25.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.3255, allocations: 198.3 kB / 460.5 MB, free: 25.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.3256, allocations: 27.8 kB / 460.5 MB, free: 25.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.3256, allocations: 31.94 kB / 460.6 MB, free: 25.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.326, allocations: 226.1 kB / 460.8 MB, free: 25.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.326, allocations: 4 kB / 460.8 MB, free: 25.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.326, allocations: 0 / 460.8 MB, free: 25.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.326, allocations: 0 / 460.8 MB, free: 25.56 MB / 366.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.00056/0.3266, allocations: 458.8 kB / 461.2 MB, free: 25.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3266, allocations: 19.45 kB / 461.2 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.3267, allocations: 8.062 kB / 461.3 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3269, allocations: 194.7 kB / 461.4 MB, free: 24.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3269, allocations: 7.219 kB / 461.4 MB, free: 24.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3269, allocations: 11.16 kB / 461.5 MB, free: 24.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3271, allocations: 92.45 kB / 461.6 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3271, allocations: 0 / 461.6 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3272, allocations: 4 kB / 461.6 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3272, allocations: 3.062 kB / 461.6 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.3273, allocations: 53.94 kB / 461.6 MB, free: 24.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.3276, allocations: 315 kB / 461.9 MB, free: 24.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.3279, allocations: 97.72 kB / 462 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.328, allocations: 54.17 kB / 462.1 MB, free: 24.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.328, allocations: 7.281 kB / 462.1 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3282, allocations: 140.4 kB / 462.2 MB, free: 24.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.3282, allocations: 0 / 462.2 MB, free: 24.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004133/0.3286, allocations: 226.4 kB / 462.4 MB, free: 24.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3287, allocations: 113.3 kB / 462.5 MB, free: 24.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.3288, allocations: 143.5 kB / 462.7 MB, free: 23.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3288, allocations: 25.7 kB / 462.7 MB, free: 23.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.3288, allocations: 94.42 kB / 462.8 MB, free: 23.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.3289, allocations: 22.97 kB / 462.8 MB, free: 23.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.3289, allocations: 26.7 kB / 462.8 MB, free: 23.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.329, allocations: 325 kB / 463.2 MB, free: 23.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.3291, allocations: 32.7 kB / 463.2 MB, free: 23.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.3291, allocations: 61.88 kB / 463.3 MB, free: 23.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3293, allocations: 156 kB / 463.4 MB, free: 23.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3293, allocations: 0 / 463.4 MB, free: 23.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002472/0.3296, allocations: 187.9 kB / 463.6 MB, free: 23.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.3296, allocations: 34.8 kB / 463.6 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3296, allocations: 0 / 463.6 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3297, allocations: 0 / 463.6 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.3297, allocations: 20.17 kB / 463.6 MB, free: 23.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3297, allocations: 7.375 kB / 463.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.3298, allocations: 10.97 kB / 463.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3298, allocations: 14.38 kB / 463.7 MB, free: 23.13 MB / 366.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 9.123e-05/0.3299, allocations: 158.2 kB / 463.8 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.33, allocations: 13.66 kB / 463.8 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.33, allocations: 7.375 kB / 463.9 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.33, allocations: 0 / 463.9 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.33, allocations: 0 / 463.9 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.33, allocations: 3.938 kB / 463.9 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.3301, allocations: 205.5 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3301, allocations: 0 / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.3302, allocations: 12.69 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3302, allocations: 0 / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3302, allocations: 7.156 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3302, allocations: 3.188 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3302, allocations: 0 / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.3305, allocations: 243.7 kB / 464.3 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.3306, allocations: 87.5 kB / 464.4 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3306, allocations: 3.281 kB / 464.4 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.3307, allocations: 9.812 kB / 464.4 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3307, allocations: 10.44 kB / 464.4 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3307, allocations: 11.03 kB / 464.4 MB, free: 22.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.769e-05/0.3308, allocations: 108.8 kB / 464.5 MB, free: 22.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3308, allocations: 0 / 464.5 MB, free: 22.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3311, allocations: 81.03 kB / 464.6 MB, free: 22.38 MB / 366.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,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,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.000944/0.3321, allocations: 431.9 kB / 465 MB, free: 22.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.3324, allocations: 191.3 kB / 465.2 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3324, allocations: 0 / 465.2 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3326, allocations: 143.7 kB / 465.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3328, allocations: 19.34 kB / 465.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.3333, allocations: 238.2 kB / 465.6 MB, free: 21.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.3335, allocations: 0.698 MB / 466.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.3335, allocations: 10.61 kB / 466.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3336, allocations: 17.84 kB / 466.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3336, allocations: 0 / 466.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of Templates: time 0.006043/0.3396, allocations: 2.535 MB / 468.9 MB, free: 20.8 MB / 366.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)