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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 105.6 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01306/0.01306, allocations: 2.947 MB / 294 MB, free: 11.88 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 68.11 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2212, allocations: 50.33 MB / 405.7 MB, free: 32.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002882/0.2241, allocations: 1.681 MB / 407.3 MB, free: 30.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.226, allocations: 1.604 MB / 409 MB, free: 29.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.2262, allocations: 3.938 kB / 409 MB, free: 29.33 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.0003262/0.2265, allocations: 39.78 kB / 409 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.2269, allocations: 120.6 kB / 409.1 MB, free: 29.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.2272, allocations: 95.77 kB / 409.2 MB, free: 29.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2274, allocations: 99.72 kB / 409.3 MB, free: 28.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2275, allocations: 20.22 kB / 409.3 MB, free: 28.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.2276, allocations: 43.8 kB / 409.4 MB, free: 28.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2277, allocations: 39.83 kB / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.2277, allocations: 8 kB / 409.4 MB, free: 28.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.228, allocations: 199.8 kB / 409.6 MB, free: 28.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.2281, allocations: 27.91 kB / 409.6 MB, free: 28.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.2282, allocations: 35.8 kB / 409.7 MB, free: 28.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.2285, allocations: 253.4 kB / 409.9 MB, free: 28.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2285, allocations: 0 / 409.9 MB, free: 28.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2285, allocations: 0 / 409.9 MB, free: 28.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2285, allocations: 0 / 409.9 MB, free: 28.37 MB / 302.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.0005025/0.229, allocations: 460.8 kB / 410.4 MB, free: 27.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2291, allocations: 11.89 kB / 410.4 MB, free: 27.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.2291, allocations: 12.78 kB / 410.4 MB, free: 27.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2293, allocations: 204.9 kB / 410.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.2293, allocations: 4.375 kB / 410.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2293, allocations: 8.125 kB / 410.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2296, allocations: 107.3 kB / 410.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2296, allocations: 0 / 410.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2296, allocations: 0 / 410.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.2296, allocations: 0 / 410.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.2297, allocations: 63.95 kB / 410.8 MB, free: 27.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.2301, allocations: 321.6 kB / 411.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.2303, allocations: 105.3 kB / 411.2 MB, free: 26.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.2304, allocations: 65.64 kB / 411.3 MB, free: 26.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.2304, allocations: 0 / 411.3 MB, free: 26.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.2307, allocations: 150.7 kB / 411.4 MB, free: 26.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.2307, allocations: 0 / 411.4 MB, free: 26.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004197/0.2311, allocations: 247.3 kB / 411.6 MB, free: 26.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2311, allocations: 106.8 kB / 411.7 MB, free: 26.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.2312, allocations: 140.9 kB / 411.9 MB, free: 26.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2312, allocations: 25.7 kB / 411.9 MB, free: 26.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.2313, allocations: 100 kB / 412 MB, free: 26.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.2313, allocations: 31.59 kB / 412 MB, free: 25.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.2314, allocations: 29.64 kB / 412.1 MB, free: 25.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.2314, allocations: 322.8 kB / 412.4 MB, free: 25.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.2315, allocations: 43.97 kB / 412.4 MB, free: 25.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2316, allocations: 57.64 kB / 412.5 MB, free: 25.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.2318, allocations: 161.1 kB / 412.6 MB, free: 25.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2318, allocations: 0 / 412.6 MB, free: 25.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002581/0.2321, allocations: 203.4 kB / 412.8 MB, free: 25.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.2321, allocations: 41.69 kB / 412.9 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2321, allocations: 0 / 412.9 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2321, allocations: 4 kB / 412.9 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.2322, allocations: 8.047 kB / 412.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2322, allocations: 0 / 412.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.2323, allocations: 19.84 kB / 412.9 MB, free: 25.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2323, allocations: 11.94 kB / 412.9 MB, free: 25.05 MB / 302.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.0001178/0.2324, allocations: 167.2 kB / 413.1 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.2325, allocations: 7.906 kB / 413.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.2325, allocations: 12.38 kB / 413.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2326, allocations: 0 / 413.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2326, allocations: 0 / 413.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2326, allocations: 4 kB / 413.1 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.2327, allocations: 221.4 kB / 413.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2327, allocations: 3.984 kB / 413.3 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.2328, allocations: 8 kB / 413.3 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2328, allocations: 4 kB / 413.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2328, allocations: 4 kB / 413.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2328, allocations: 0 / 413.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2328, allocations: 3.938 kB / 413.3 MB, free: 24.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.2332, allocations: 267.4 kB / 413.6 MB, free: 24.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.2332, allocations: 85 kB / 413.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.2332, allocations: 12 kB / 413.7 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.125e-05/0.2333, allocations: 4 kB / 413.7 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.2334, allocations: 7.984 kB / 413.7 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.2334, allocations: 11.94 kB / 413.7 MB, free: 24.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.141e-05/0.2335, allocations: 111.2 kB / 413.8 MB, free: 24.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2335, allocations: 0 / 413.8 MB, free: 24.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.2338, allocations: 71.98 kB / 413.9 MB, free: 23.95 MB / 302.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.0007999/0.2346, allocations: 440.5 kB / 414.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.2349, allocations: 207.2 kB / 414.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2349, allocations: 0 / 414.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.235, allocations: 143.3 kB / 414.7 MB, free: 23.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.2352, allocations: 18.48 kB / 414.7 MB, free: 23.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.2357, allocations: 257 kB / 414.9 MB, free: 22.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2358, allocations: 0.7002 MB / 415.6 MB, free: 22.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.2358, allocations: 15.42 kB / 415.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2358, allocations: 4 kB / 415.7 MB, free: 22.22 MB / 302.1 MB Notification: Performance of Templates: time 0.004309/0.2401, allocations: 2.704 MB / 418.4 MB, free: 19.53 MB / 302.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile (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)