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.0009414/0.0009414, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0008874/0.0008874, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9671/0.9671, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.01704/0.01704, allocations: 2.266 MB / 262.5 MB, free: 10.65 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.423e-06/1.423e-06, allocations: 0 / 280 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.785e-05, allocations: 5.125 kB / 280 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002109/0.002127, allocations: 1.725 MB / 281.7 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.003728, allocations: 1.761 MB / 283.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.003786, allocations: 4 kB / 283.5 MB, free: 5.676 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.0002821/0.004068, allocations: 47.7 kB / 283.5 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.004327, allocations: 123.4 kB / 283.6 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.004479, allocations: 91.64 kB / 283.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.004582, allocations: 83.77 kB / 283.8 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.004659, allocations: 12.22 kB / 283.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.004737, allocations: 51.89 kB / 283.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.004837, allocations: 35.83 kB / 283.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.00485, allocations: 4 kB / 283.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.005037, allocations: 183.7 kB / 284.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.005085, allocations: 19.92 kB / 284.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.005119, allocations: 23.91 kB / 284.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.005354, allocations: 239.2 kB / 284.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005356, allocations: 0 / 284.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005357, allocations: 0 / 284.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.00536, allocations: 4 kB / 284.4 MB, free: 4.77 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.0003674/0.005727, allocations: 357.8 kB / 284.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.005757, allocations: 12.02 kB / 284.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.005788, allocations: 12.94 kB / 284.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.00592, allocations: 133.5 kB / 284.9 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.005927, allocations: 384 / 284.9 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.00594, allocations: 8.375 kB / 284.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.006061, allocations: 121.1 kB / 285 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.006068, allocations: 3.938 kB / 285 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.006076, allocations: 8 kB / 285 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.00608, allocations: 0 / 285 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.006124, allocations: 60.45 kB / 285.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.006312, allocations: 176 kB / 285.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.006435, allocations: 94.92 kB / 285.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.006473, allocations: 51.45 kB / 285.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.006484, allocations: 4 kB / 285.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.006598, allocations: 151.3 kB / 285.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.006599, allocations: 0 / 285.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001601/0.006759, allocations: 185.6 kB / 285.7 MB, free: 3.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.006801, allocations: 114.8 kB / 285.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.006865, allocations: 129.8 kB / 286 MB, free: 2.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.006877, allocations: 29.7 kB / 286 MB, free: 2.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.006904, allocations: 88.12 kB / 286.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.00693, allocations: 35.72 kB / 286.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.006962, allocations: 25.7 kB / 286.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.007035, allocations: 318.8 kB / 286.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.007065, allocations: 48.45 kB / 286.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.007098, allocations: 59.41 kB / 286.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.007165, allocations: 111.8 kB / 286.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007167, allocations: 8 kB / 286.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.446e-05/0.007262, allocations: 139.8 kB / 286.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.007289, allocations: 39.73 kB / 286.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007293, allocations: 0 / 286.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.007301, allocations: 4 kB / 286.8 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-05/0.007339, allocations: 11.98 kB / 286.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.007342, allocations: 0 / 286.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.007374, allocations: 11.89 kB / 286.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.007381, allocations: 4 kB / 286.9 MB, free: 1.945 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.042e-05/0.007452, allocations: 154.4 kB / 287 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.007473, allocations: 23.92 kB / 287 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.007489, allocations: 4.438 kB / 287 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007491, allocations: 0 / 287 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.007494, allocations: 4 kB / 287 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.007498, allocations: 7.922 kB / 287.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.8e-05/0.007566, allocations: 85.88 kB / 287.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007567, allocations: 0 / 287.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.007586, allocations: 8 kB / 287.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.007587, allocations: 0 / 287.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.007596, allocations: 7.938 kB / 287.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007597, allocations: 7.984 kB / 287.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007598, allocations: 0 / 287.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.007716, allocations: 186.9 kB / 287.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.007728, allocations: 12 kB / 287.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.007748, allocations: 11.94 kB / 287.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.225e-05/0.00777, allocations: 8.266 kB / 287.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.007796, allocations: 11.98 kB / 287.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.007805, allocations: 0 / 287.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.252e-05/0.007828, allocations: 24.84 kB / 287.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007828, allocations: 0 / 287.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.007992, allocations: 79.73 kB / 287.5 MB, free: 1.246 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.0009482/0.00894, allocations: 0.5521 MB / 288 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.009083, allocations: 179.6 kB / 288.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.009085, allocations: 0 / 288.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.009143, allocations: 125.9 kB / 288.3 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.009246, allocations: 15.95 kB / 288.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.009537, allocations: 256.6 kB / 288.6 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.009571, allocations: 69.78 kB / 288.7 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.009596, allocations: 4 kB / 288.7 MB, free: 128 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.009667, allocations: 71.36 kB / 288.8 MB, free: 56 kB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009667, allocations: 0 / 288.8 MB, free: 56 kB / 266.7 MB Notification: Performance of Templates: time 0.1065/0.1161, allocations: 2.858 MB / 291.6 MB, free: 23.09 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: 2.6535463971085846]