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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01106/0.01106, allocations: 2.267 MB / 262.5 MB, free: 10.84 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.683e-06/1.683e-06, allocations: 0 / 332.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.926e-05, allocations: 8.641 kB / 332.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002628/0.002657, allocations: 1.709 MB / 334.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.0042, allocations: 1.741 MB / 336.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.004279, allocations: 0 / 336.3 MB, free: 13.28 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.00463, allocations: 47.72 kB / 336.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.005021, allocations: 131.2 kB / 336.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.005244, allocations: 83.77 kB / 336.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.005383, allocations: 87.7 kB / 336.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.005495, allocations: 12.16 kB / 336.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.00559, allocations: 51.89 kB / 336.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.005713, allocations: 31.89 kB / 336.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.00573, allocations: 4 kB / 336.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.005974, allocations: 187.7 kB / 336.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.006036, allocations: 27.91 kB / 336.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.006086, allocations: 19.92 kB / 336.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.006382, allocations: 239.3 kB / 337.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.006385, allocations: 0 / 337.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006387, allocations: 0 / 337.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.006393, allocations: 0 / 337.2 MB, free: 12.37 MB / 266.7 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.0005121/0.006905, allocations: 493.4 kB / 337.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.006946, allocations: 8.031 kB / 337.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.007005, allocations: 12.89 kB / 337.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.007175, allocations: 136.5 kB / 337.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.007188, allocations: 12.31 kB / 337.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.0072, allocations: 4.375 kB / 337.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.007364, allocations: 123.9 kB / 337.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.007372, allocations: 3.938 kB / 337.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.007382, allocations: 4 kB / 337.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.007391, allocations: 0 / 337.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.581e-05/0.007447, allocations: 53.67 kB / 338 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.007745, allocations: 299.4 kB / 338.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.007912, allocations: 124 kB / 338.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.007958, allocations: 61.19 kB / 338.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.007972, allocations: 7.938 kB / 338.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.008109, allocations: 159.8 kB / 338.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.00811, allocations: 0 / 338.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002793/0.00839, allocations: 226.7 kB / 338.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.008422, allocations: 110.8 kB / 339 MB, free: 10.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.008503, allocations: 192.6 kB / 339.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.008512, allocations: 25.7 kB / 339.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.008541, allocations: 134.9 kB / 339.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.008567, allocations: 35.73 kB / 339.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.008612, allocations: 35.38 kB / 339.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.008661, allocations: 0.4884 MB / 339.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.008699, allocations: 45.69 kB / 339.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.008738, allocations: 80.92 kB / 340 MB, free: 9.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.303e-05/0.008811, allocations: 114.8 kB / 340.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008813, allocations: 3.938 kB / 340.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000155/0.008968, allocations: 184.8 kB / 340.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.008996, allocations: 37.69 kB / 340.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.009001, allocations: 0 / 340.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.009014, allocations: 0 / 340.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.009068, allocations: 19.98 kB / 340.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.009074, allocations: 3.938 kB / 340.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.009113, allocations: 8 kB / 340.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.009121, allocations: 4 kB / 340.4 MB, free: 8.793 MB / 266.7 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 6.764e-05/0.009189, allocations: 200.9 kB / 340.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.009209, allocations: 15.95 kB / 340.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.009232, allocations: 8.438 kB / 340.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.009234, allocations: 4 kB / 340.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.009237, allocations: 0 / 340.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.009241, allocations: 7.984 kB / 340.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.545e-05/0.009317, allocations: 152.5 kB / 340.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009318, allocations: 3.938 kB / 340.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.009346, allocations: 12 kB / 340.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.009347, allocations: 0 / 340.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.009357, allocations: 4 kB / 340.8 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009359, allocations: 3.938 kB / 340.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.009361, allocations: 7.984 kB / 340.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.009527, allocations: 243.4 kB / 341 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.009541, allocations: 11.89 kB / 341 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.009564, allocations: 8 kB / 341 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.0096, allocations: 8 kB / 341 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.009632, allocations: 4.312 kB / 341 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.009646, allocations: 8 kB / 341 MB, free: 8.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.009683, allocations: 143.2 kB / 341.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009683, allocations: 0 / 341.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.009902, allocations: 75.73 kB / 341.3 MB, free: 7.797 MB / 266.7 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.0009967/0.0109, allocations: 475.7 kB / 341.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.01109, allocations: 194.4 kB / 341.9 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01109, allocations: 0 / 341.9 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.01114, allocations: 132.7 kB / 342 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.01134, allocations: 29.94 kB / 342.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.0117, allocations: 253.6 kB / 342.3 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.516e-05/0.01172, allocations: 64.16 kB / 342.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.877e-05/0.01175, allocations: 11.98 kB / 342.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.01177, allocations: 16.5 kB / 342.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01178, allocations: 0 / 342.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of Templates: time 0.004166/0.01594, allocations: 2.604 MB / 345 MB, free: 4.062 MB / 266.7 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.022403445094824]