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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01691/0.01691, allocations: 2.991 MB / 307.5 MB, free: 3.184 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 428.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3411, allocations: 53.06 MB / 481.8 MB, free: 27.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003222/0.3443, allocations: 1.688 MB / 483.5 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.3464, allocations: 1.689 MB / 485.2 MB, free: 25.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.3465, allocations: 0 / 485.2 MB, free: 25.15 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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.000387/0.3469, allocations: 35.53 kB / 485.2 MB, free: 25.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.3472, allocations: 129.6 kB / 485.3 MB, free: 25.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3474, allocations: 79.28 kB / 485.4 MB, free: 25.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3476, allocations: 90 kB / 485.5 MB, free: 24.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.3477, allocations: 15.05 kB / 485.5 MB, free: 24.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.3478, allocations: 41.52 kB / 485.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.348, allocations: 42.16 kB / 485.6 MB, free: 24.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.348, allocations: 3.062 kB / 485.6 MB, free: 24.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3483, allocations: 206.1 kB / 485.8 MB, free: 24.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.3484, allocations: 17.56 kB / 485.8 MB, free: 24.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.3484, allocations: 36.97 kB / 485.8 MB, free: 24.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.3488, allocations: 232 kB / 486.1 MB, free: 24.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3488, allocations: 0 / 486.1 MB, free: 24.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3488, allocations: 0 / 486.1 MB, free: 24.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3488, allocations: 0 / 486.1 MB, free: 24.76 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.0006564/0.3495, allocations: 464.2 kB / 486.5 MB, free: 24.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3495, allocations: 13.39 kB / 486.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.3496, allocations: 10.95 kB / 486.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.3499, allocations: 203.7 kB / 486.7 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3499, allocations: 8.312 kB / 486.7 MB, free: 24.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3499, allocations: 10.86 kB / 486.8 MB, free: 24.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3501, allocations: 109.1 kB / 486.9 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3501, allocations: 0 / 486.9 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3501, allocations: 0 / 486.9 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3501, allocations: 3.062 kB / 486.9 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3503, allocations: 56.09 kB / 486.9 MB, free: 23.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3507, allocations: 303 kB / 487.2 MB, free: 23.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3509, allocations: 94.75 kB / 487.3 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.351, allocations: 47.03 kB / 487.4 MB, free: 23.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.351, allocations: 3.375 kB / 487.4 MB, free: 23.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.3512, allocations: 139.7 kB / 487.5 MB, free: 23.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3512, allocations: 0 / 487.5 MB, free: 23.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004375/0.3516, allocations: 230.2 kB / 487.7 MB, free: 23.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3517, allocations: 109.5 kB / 487.8 MB, free: 23.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3518, allocations: 132.5 kB / 488 MB, free: 23.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3518, allocations: 32.8 kB / 488 MB, free: 23.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.3518, allocations: 94.8 kB / 488.1 MB, free: 23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3519, allocations: 26.7 kB / 488.1 MB, free: 22.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.3519, allocations: 34.36 kB / 488.1 MB, free: 22.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.352, allocations: 329.1 kB / 488.5 MB, free: 22.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.3521, allocations: 36.02 kB / 488.5 MB, free: 22.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.3522, allocations: 54.22 kB / 488.6 MB, free: 22.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3523, allocations: 152 kB / 488.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3523, allocations: 0 / 488.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002499/0.3526, allocations: 184.7 kB / 488.9 MB, free: 22.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.3526, allocations: 35.95 kB / 488.9 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3526, allocations: 6.344 kB / 488.9 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3526, allocations: 0 / 488.9 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.3527, allocations: 17.28 kB / 488.9 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3527, allocations: 3.938 kB / 488.9 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3528, allocations: 17.06 kB / 489 MB, free: 22.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3528, allocations: 10.91 kB / 489 MB, free: 22.32 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.778e-05/0.3529, allocations: 154.4 kB / 489.1 MB, free: 22.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.3529, allocations: 10.27 kB / 489.1 MB, free: 22.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.3529, allocations: 11.16 kB / 489.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3529, allocations: 1.344 kB / 489.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3529, allocations: 0 / 489.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3529, allocations: 4.688 kB / 489.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.3531, allocations: 199.6 kB / 489.3 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3531, allocations: 0 / 489.3 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.3531, allocations: 13.59 kB / 489.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3531, allocations: 3.031 kB / 489.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3532, allocations: 3.156 kB / 489.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3532, allocations: 0 / 489.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3532, allocations: 4 kB / 489.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.3535, allocations: 252.1 kB / 489.6 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.3535, allocations: 86.98 kB / 489.7 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.3535, allocations: 14.94 kB / 489.7 MB, free: 21.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.3536, allocations: 4.484 kB / 489.7 MB, free: 21.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.3537, allocations: 9.922 kB / 489.7 MB, free: 21.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3537, allocations: 7.875 kB / 489.7 MB, free: 21.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.3537, allocations: 110 kB / 489.8 MB, free: 21.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 0 / 489.8 MB, free: 21.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.354, allocations: 83 kB / 489.9 MB, free: 21.55 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.001273/0.3553, allocations: 424 kB / 490.3 MB, free: 21.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.3556, allocations: 163.5 kB / 490.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3556, allocations: 3.25 kB / 490.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3557, allocations: 106.6 kB / 490.6 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.356, allocations: 19.28 kB / 490.6 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.3565, allocations: 240.2 kB / 490.9 MB, free: 21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.3567, allocations: 0.6981 MB / 491.6 MB, free: 20.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.13e-05/0.3567, allocations: 8.312 kB / 491.6 MB, free: 20.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.3567, allocations: 13.14 kB / 491.6 MB, free: 20.3 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3567, allocations: 4 kB / 491.6 MB, free: 20.3 MB / 366.1 MB Notification: Performance of Templates: time 0.007738/0.3645, allocations: 2.581 MB / 494.2 MB, free: 20.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.892966724000871]