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.001604/0.001604, allocations: 93.06 kB / 19.65 MB, free: 272 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.002058/0.002058, allocations: 173 kB / 23.02 MB, free: 1.543 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.02/0.02, allocations: 2.248 MB / 262.2 MB, free: 10.78 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 1.463e-06/1.463e-06, allocations: 0 / 332.8 MB, free: 1.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.624e-05, allocations: 5.125 kB / 332.8 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.00203/0.002047, allocations: 1.729 MB / 334.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.003668, allocations: 1.761 MB / 336.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.003733, allocations: 4 kB / 336.3 MB, free: 13.98 MB / 314.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.000305/0.004038, allocations: 47.7 kB / 336.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.004359, allocations: 131.2 kB / 336.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.004541, allocations: 91.77 kB / 336.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.004666, allocations: 99.69 kB / 336.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.004747, allocations: 16.16 kB / 336.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.004826, allocations: 51.91 kB / 336.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.004935, allocations: 31.89 kB / 336.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.004953, allocations: 8 kB / 336.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.005181, allocations: 191.6 kB / 336.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.005233, allocations: 23.92 kB / 337 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.005276, allocations: 27.92 kB / 337 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.00555, allocations: 243.3 kB / 337.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.005553, allocations: 0 / 337.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005554, allocations: 3.938 kB / 337.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005558, allocations: 0 / 337.2 MB, free: 13.03 MB / 314.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.0004504/0.006009, allocations: 489.5 kB / 337.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.00604, allocations: 8.031 kB / 337.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.006089, allocations: 16.89 kB / 337.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.00624, allocations: 136.5 kB / 337.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.006251, allocations: 4.375 kB / 337.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.006261, allocations: 4.375 kB / 337.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.006422, allocations: 143.8 kB / 338 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.00643, allocations: 3.938 kB / 338 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.00644, allocations: 4 kB / 338 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.006447, allocations: 0 / 338 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.006506, allocations: 53.67 kB / 338.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.006829, allocations: 315.3 kB / 338.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.00728, allocations: 111.8 kB / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.007337, allocations: 73.14 kB / 338.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.007348, allocations: 0 / 338.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.007484, allocations: 163.8 kB / 338.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 7.82e-07/0.007485, allocations: 0 / 338.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002817/0.007767, allocations: 226.7 kB / 338.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.007814, allocations: 106.8 kB / 339 MB, free: 10.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.007909, allocations: 196.4 kB / 339.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.007923, allocations: 25.7 kB / 339.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.007968, allocations: 146.8 kB / 339.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.007997, allocations: 27.89 kB / 339.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.008034, allocations: 35.36 kB / 339.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.008137, allocations: 0.4962 MB / 340 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.008178, allocations: 45.69 kB / 340 MB, free: 9.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.008221, allocations: 69 kB / 340.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.008308, allocations: 122.7 kB / 340.2 MB, free: 9.703 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.008312, allocations: 3.938 kB / 340.2 MB, free: 9.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000154/0.008466, allocations: 181 kB / 340.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.008493, allocations: 41.69 kB / 340.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008497, allocations: 0 / 340.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.008508, allocations: 336 / 340.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.008555, allocations: 11.94 kB / 340.4 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.403e-06/0.008561, allocations: 8 kB / 340.4 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.008602, allocations: 7.984 kB / 340.4 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.00861, allocations: 4 kB / 340.4 MB, free: 9.426 MB / 314.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 8.765e-05/0.008698, allocations: 209.2 kB / 340.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.00872, allocations: 15.95 kB / 340.7 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.008739, allocations: 8.438 kB / 340.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.008742, allocations: 4 kB / 340.7 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008745, allocations: 0 / 340.7 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.008748, allocations: 0 / 340.7 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/0.008841, allocations: 152.5 kB / 340.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.008845, allocations: 11.94 kB / 340.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.008868, allocations: 4 kB / 340.8 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008869, allocations: 4 kB / 340.8 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.008881, allocations: 7.984 kB / 340.9 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008883, allocations: 11.94 kB / 340.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008885, allocations: 0 / 340.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.009082, allocations: 255.4 kB / 341.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.009096, allocations: 11.89 kB / 341.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.009118, allocations: 8 kB / 341.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.009146, allocations: 7.984 kB / 341.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.009176, allocations: 4 kB / 341.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.009187, allocations: 8 kB / 341.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.12e-05/0.009239, allocations: 147.2 kB / 341.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009239, allocations: 0 / 341.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000246/0.009485, allocations: 79.73 kB / 341.4 MB, free: 8.406 MB / 314.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.0008869/0.01037, allocations: 465.5 kB / 341.8 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.01058, allocations: 198.4 kB / 342 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01058, allocations: 4 kB / 342 MB, free: 7.832 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.01066, allocations: 132.7 kB / 342.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01083, allocations: 35.38 kB / 342.2 MB, free: 7.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.0112, allocations: 244.2 kB / 342.4 MB, free: 7.371 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.01124, allocations: 75.33 kB / 342.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.925e-05/0.01127, allocations: 4 kB / 342.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.0113, allocations: 16.48 kB / 342.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0113, allocations: 0 / 342.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of Templates: time 0.004683/0.01599, allocations: 2.979 MB / 345.5 MB, free: 4.297 MB / 314.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: 2.857554566115141]