Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.001972/0.001972, allocations: 85.48 kB / 19.44 MB, free: 344 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.002043/0.002043, allocations: 173.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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.535 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.01395/0.01395, allocations: 2.269 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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 3.984 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.658e-05, allocations: 6.25 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002279/0.002306, allocations: 1.689 MB / 333.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.004053, allocations: 1.73 MB / 335.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.00411, allocations: 4 kB / 335.5 MB, free: 13.34 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.0003006/0.004411, allocations: 43.7 kB / 335.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.004706, allocations: 119.4 kB / 335.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.004884, allocations: 95.7 kB / 335.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.004992, allocations: 103.6 kB / 335.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.005065, allocations: 12.22 kB / 335.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.005151, allocations: 47.91 kB / 335.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.005285, allocations: 39.89 kB / 335.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.005308, allocations: 8 kB / 335.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.005517, allocations: 191.6 kB / 336.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.005566, allocations: 19.98 kB / 336.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.005609, allocations: 23.92 kB / 336.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.005894, allocations: 279.2 kB / 336.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005898, allocations: 0 / 336.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005899, allocations: 0 / 336.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.005905, allocations: 3.984 kB / 336.5 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.000476/0.006381, allocations: 493.1 kB / 336.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.006412, allocations: 12.03 kB / 336.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.006475, allocations: 20.84 kB / 337 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.006652, allocations: 140.5 kB / 337.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.006664, allocations: 4.375 kB / 337.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.006679, allocations: 8.375 kB / 337.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.006852, allocations: 127.2 kB / 337.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.006862, allocations: 7.922 kB / 337.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006873, allocations: 4 kB / 337.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.006877, allocations: 0 / 337.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.006992, allocations: 77.69 kB / 337.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.007314, allocations: 327.4 kB / 337.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.007525, allocations: 135.8 kB / 337.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.865e-05/0.007603, allocations: 77.2 kB / 337.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.007622, allocations: 8 kB / 337.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.007778, allocations: 183.7 kB / 338 MB, free: 10.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.007779, allocations: 0 / 338 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003949/0.008174, allocations: 270.6 kB / 338.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.008204, allocations: 114.8 kB / 338.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/0.008293, allocations: 201.9 kB / 338.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.008304, allocations: 29.7 kB / 338.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.008339, allocations: 142.9 kB / 338.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.008366, allocations: 35.81 kB / 338.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.00841, allocations: 35.36 kB / 338.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.00847, allocations: 0.4923 MB / 339.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.008539, allocations: 61.69 kB / 339.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.008614, allocations: 96.98 kB / 339.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.008745, allocations: 154.6 kB / 339.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008747, allocations: 7.938 kB / 339.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002412/0.008988, allocations: 216.8 kB / 339.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.009017, allocations: 41.69 kB / 339.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.009021, allocations: 4 kB / 339.9 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.009035, allocations: 0 / 339.9 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.009088, allocations: 8 kB / 339.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.009092, allocations: 0 / 339.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.009147, allocations: 4 kB / 339.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.009158, allocations: 11.92 kB / 339.9 MB, free: 8.5 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 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.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.755e-05/0.009236, allocations: 217.4 kB / 340.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.009265, allocations: 15.95 kB / 340.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.009288, allocations: 8.438 kB / 340.2 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00929, allocations: 4.328 kB / 340.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.009293, allocations: 0 / 340.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.009296, allocations: 0 / 340.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.009389, allocations: 168.5 kB / 340.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.00939, allocations: 3.938 kB / 340.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.009436, allocations: 11.98 kB / 340.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.009438, allocations: 0 / 340.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.00945, allocations: 4 kB / 340.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.009451, allocations: 7.984 kB / 340.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009452, allocations: 0 / 340.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.009734, allocations: 283.4 kB / 340.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.00975, allocations: 11.89 kB / 340.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.009777, allocations: 4 kB / 340.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.009831, allocations: 11.98 kB / 340.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.009879, allocations: 7.984 kB / 340.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.009897, allocations: 15.98 kB / 340.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.009951, allocations: 150.1 kB / 340.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009951, allocations: 4 kB / 340.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.01021, allocations: 79.8 kB / 340.9 MB, free: 7.422 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.001846/0.01206, allocations: 436.1 kB / 341.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.01232, allocations: 238.4 kB / 341.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01232, allocations: 0 / 341.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.01243, allocations: 156.7 kB / 341.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01265, allocations: 27.02 kB / 341.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.01311, allocations: 285.7 kB / 342 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.01316, allocations: 89.05 kB / 342.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.418e-05/0.0132, allocations: 11.97 kB / 342.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.01323, allocations: 16.5 kB / 342.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01323, allocations: 0 / 342.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of Templates: time 0.00548/0.01871, allocations: 2.722 MB / 344.9 MB, free: 3.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2699049999937415]