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.00178/0.00178, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001982/0.001982, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.46/1.46, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.01478/0.01478, allocations: 2.254 MB / 261.8 MB, free: 10.82 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.283e-06/1.283e-06, allocations: 0 / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.822e-05, allocations: 2.312 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002196/0.002224, allocations: 1.685 MB / 333.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.003894, allocations: 1.722 MB / 335.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.003948, allocations: 0 / 335.5 MB, free: 13.36 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.0002861/0.004234, allocations: 47.7 kB / 335.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.004515, allocations: 115.4 kB / 335.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.004698, allocations: 91.7 kB / 335.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.0048, allocations: 87.7 kB / 335.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.004873, allocations: 12.22 kB / 335.8 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.004956, allocations: 51.83 kB / 335.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.005093, allocations: 31.91 kB / 335.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.005112, allocations: 4 kB / 335.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.005312, allocations: 187.6 kB / 336.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.005365, allocations: 19.92 kB / 336.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.00541, allocations: 31.84 kB / 336.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.005703, allocations: 247.3 kB / 336.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005705, allocations: 4 kB / 336.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005706, allocations: 3.938 kB / 336.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005711, allocations: 0 / 336.4 MB, free: 12.43 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.0004662/0.006177, allocations: 489.2 kB / 336.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.006208, allocations: 12.03 kB / 336.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.006264, allocations: 16.84 kB / 336.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.006429, allocations: 144.5 kB / 337 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.006441, allocations: 384 / 337 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.006463, allocations: 4.375 kB / 337 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.006628, allocations: 131.2 kB / 337.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006639, allocations: 3.938 kB / 337.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.00665, allocations: 0 / 337.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.006654, allocations: 8 kB / 337.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.006764, allocations: 65.67 kB / 337.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.007068, allocations: 303.4 kB / 337.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.007273, allocations: 127.9 kB / 337.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.756e-05/0.00735, allocations: 81.05 kB / 337.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.007368, allocations: 0 / 337.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.007529, allocations: 175.8 kB / 337.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.00753, allocations: 0 / 337.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000375/0.007905, allocations: 263 kB / 338.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.007935, allocations: 106.8 kB / 338.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.008028, allocations: 197.9 kB / 338.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.008039, allocations: 29.7 kB / 338.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.008076, allocations: 138.9 kB / 338.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.008104, allocations: 31.75 kB / 338.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.008146, allocations: 35.36 kB / 338.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.008209, allocations: 0.4962 MB / 339.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.008279, allocations: 57.69 kB / 339.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.008355, allocations: 77.06 kB / 339.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.008485, allocations: 154.7 kB / 339.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.008488, allocations: 3.938 kB / 339.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002217/0.008709, allocations: 204.8 kB / 339.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.008735, allocations: 41.69 kB / 339.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00874, allocations: 0 / 339.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008754, allocations: 0 / 339.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.008806, allocations: 12 kB / 339.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008811, allocations: 4 kB / 339.7 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.008868, allocations: 7.984 kB / 339.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.008878, allocations: 4 kB / 339.7 MB, free: 8.691 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 7.483e-05/0.008953, allocations: 210.2 kB / 340 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.008982, allocations: 15.95 kB / 340 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.009006, allocations: 12.44 kB / 340 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009008, allocations: 0 / 340 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.009011, allocations: 0 / 340 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.009014, allocations: 0 / 340 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.851e-05/0.009103, allocations: 160.5 kB / 340.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009104, allocations: 7.938 kB / 340.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.009149, allocations: 8 kB / 340.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009151, allocations: 0 / 340.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.009163, allocations: 8 kB / 340.2 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009165, allocations: 0 / 340.2 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009166, allocations: 4 kB / 340.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.009435, allocations: 275.3 kB / 340.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.009451, allocations: 15.89 kB / 340.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.009476, allocations: 8.062 kB / 340.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.009528, allocations: 4 kB / 340.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.009563, allocations: 11.98 kB / 340.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.009577, allocations: 4 kB / 340.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.009627, allocations: 155.2 kB / 340.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009627, allocations: 0 / 340.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.009886, allocations: 71.8 kB / 340.7 MB, free: 7.648 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.001877/0.01176, allocations: 441.5 kB / 341.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.01202, allocations: 230.4 kB / 341.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01202, allocations: 4 kB / 341.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.01212, allocations: 144.7 kB / 341.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.01235, allocations: 29.62 kB / 341.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.01274, allocations: 265.4 kB / 341.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01278, allocations: 89.05 kB / 341.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.059e-05/0.01282, allocations: 4 kB / 341.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.01284, allocations: 24.48 kB / 341.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01285, allocations: 0 / 341.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of Templates: time 0.005277/0.01812, allocations: 2.605 MB / 344.5 MB, free: 3.855 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: 4.26321054098662]