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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 106.9 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 194.8 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01367/0.01367, allocations: 2.958 MB / 300.2 MB, free: 9.668 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00184/0.00184, allocations: 71.88 kB / 415 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08435/0.0862, allocations: 50.33 MB / 465.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003031/0.08928, allocations: 1.684 MB / 467 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.09163, allocations: 1.6 MB / 468.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.09171, allocations: 4 kB / 468.6 MB, free: 5.934 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:250:3-279:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.092, allocations: 47.7 kB / 468.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.09233, allocations: 119.5 kB / 468.8 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.09259, allocations: 93.58 kB / 468.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.09276, allocations: 103.8 kB / 468.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.09285, allocations: 16.23 kB / 469 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.09294, allocations: 43.84 kB / 469 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.0931, allocations: 43.77 kB / 469 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.09313, allocations: 12 kB / 469.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.09343, allocations: 199.8 kB / 469.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.0935, allocations: 27.91 kB / 469.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.09357, allocations: 43.8 kB / 469.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.09393, allocations: 239.3 kB / 469.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09394, allocations: 0 / 469.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09395, allocations: 0 / 469.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.09397, allocations: 4 kB / 469.6 MB, free: 4.957 MB / 334.1 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.0006408/0.09461, allocations: 460.3 kB / 470 MB, free: 4.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.09466, allocations: 19.89 kB / 470 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.09471, allocations: 8.891 kB / 470 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.095, allocations: 208.2 kB / 470.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.09502, allocations: 384 / 470.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.09505, allocations: 16.11 kB / 470.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.09529, allocations: 99.31 kB / 470.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.09531, allocations: 0 / 470.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.09533, allocations: 4 kB / 470.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.09535, allocations: 7.938 kB / 470.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.09553, allocations: 55.97 kB / 470.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.09598, allocations: 321.6 kB / 470.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.09626, allocations: 109.3 kB / 470.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.09639, allocations: 65.69 kB / 470.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.09642, allocations: 0 / 470.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.09664, allocations: 138.8 kB / 471 MB, free: 3.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.09666, allocations: 4 kB / 471 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005023/0.09717, allocations: 251.3 kB / 471.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.09726, allocations: 110.8 kB / 471.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.0974, allocations: 141.8 kB / 471.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.09743, allocations: 25.7 kB / 471.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.09749, allocations: 92.14 kB / 471.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.09754, allocations: 31.73 kB / 471.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.09759, allocations: 21.72 kB / 471.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.09777, allocations: 330.8 kB / 472 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.09787, allocations: 39.92 kB / 472.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.09798, allocations: 65.62 kB / 472.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.09822, allocations: 161 kB / 472.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.09823, allocations: 0 / 472.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003329/0.09857, allocations: 199.2 kB / 472.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.09863, allocations: 41.7 kB / 472.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.09864, allocations: 0 / 472.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.09866, allocations: 0 / 472.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.09875, allocations: 19.92 kB / 472.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.09877, allocations: 3.938 kB / 472.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.09885, allocations: 7.953 kB / 472.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.09888, allocations: 7.938 kB / 472.6 MB, free: 1.633 MB / 334.1 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 0.0001666/0.09905, allocations: 164.3 kB / 472.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.09909, allocations: 16.28 kB / 472.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.09914, allocations: 16.36 kB / 472.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.09915, allocations: 0 / 472.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.09916, allocations: 3.984 kB / 472.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.09917, allocations: 0 / 472.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.09938, allocations: 217.5 kB / 473 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.09939, allocations: 4 kB / 473 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.09946, allocations: 8 kB / 473 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.09948, allocations: 4 kB / 473 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.0995, allocations: 11.98 kB / 473 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09951, allocations: 0 / 473 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09952, allocations: 4 kB / 473 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.09994, allocations: 259.5 kB / 473.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.1, allocations: 89 kB / 473.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1001, allocations: 11.94 kB / 473.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.1001, allocations: 7.984 kB / 473.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.1002, allocations: 12 kB / 473.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1002, allocations: 11.92 kB / 473.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.1003, allocations: 105.9 kB / 473.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1003, allocations: 0 / 473.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.1006, allocations: 87.69 kB / 473.6 MB, free: 0.5117 MB / 334.1 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.001232/0.1019, allocations: 426.2 kB / 474 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.1023, allocations: 207.3 kB / 474.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1023, allocations: 0 / 474.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1025, allocations: 147.3 kB / 474.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1027, allocations: 23.09 kB / 474.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.1032, allocations: 251.2 kB / 474.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1036, allocations: 0.7002 MB / 475.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.595e-05/0.1036, allocations: 4 kB / 475.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.1037, allocations: 15.42 kB / 475.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1037, allocations: 0 / 475.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Templates: time 0.00626/0.1099, allocations: 2.648 MB / 478 MB, free: 12.15 MB / 350.1 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.221511201933026]