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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001353/0.001353, allocations: 195.3 kB / 16.14 MB, free: 6.695 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1363/0.1363, allocations: 2.944 MB / 292.9 MB, free: 3.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.89 kB / 354 MB, free: 4.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1002, allocations: 50.34 MB / 404.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003278/0.1036, allocations: 1.731 MB / 406.1 MB, free: 108 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1061, allocations: 1.615 MB / 407.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.1062, allocations: 0 / 407.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1065, allocations: 43.8 kB / 407.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1069, allocations: 95.7 kB / 407.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1071, allocations: 71.88 kB / 407.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1073, allocations: 91.7 kB / 408 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.1074, allocations: 12.2 kB / 408 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.1074, allocations: 31.92 kB / 408 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1076, allocations: 43.7 kB / 408.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1076, allocations: 4 kB / 408.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.108, allocations: 195.8 kB / 408.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.108, allocations: 15.98 kB / 408.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1081, allocations: 35.8 kB / 408.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.1085, allocations: 247.7 kB / 408.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1085, allocations: 4 kB / 408.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1085, allocations: 0 / 408.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1085, allocations: 0 / 408.5 MB, free: 13.6 MB / 350.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.0006189/0.1092, allocations: 452.9 kB / 409 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1092, allocations: 12.03 kB / 409 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.1093, allocations: 12.84 kB / 409 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1095, allocations: 204 kB / 409.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1095, allocations: 8.359 kB / 409.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1095, allocations: 8.125 kB / 409.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.1098, allocations: 107.2 kB / 409.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1098, allocations: 0 / 409.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1098, allocations: 8 kB / 409.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1098, allocations: 0 / 409.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.11, allocations: 59.97 kB / 409.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1104, allocations: 325.7 kB / 409.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1107, allocations: 105.3 kB / 409.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1108, allocations: 65.75 kB / 409.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1108, allocations: 3.938 kB / 409.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.1111, allocations: 138.8 kB / 410 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1111, allocations: 0 / 410 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004967/0.1117, allocations: 251.2 kB / 410.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.1117, allocations: 110.8 kB / 410.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1118, allocations: 147.6 kB / 410.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1119, allocations: 33.69 kB / 410.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1119, allocations: 88.14 kB / 410.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.112, allocations: 31.55 kB / 410.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.112, allocations: 21.72 kB / 410.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1121, allocations: 326.8 kB / 411 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.1122, allocations: 43.98 kB / 411.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.1123, allocations: 61.62 kB / 411.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1126, allocations: 161 kB / 411.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1126, allocations: 0 / 411.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003226/0.1129, allocations: 203.2 kB / 411.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.113, allocations: 43.98 kB / 411.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.113, allocations: 0 / 411.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.113, allocations: 0 / 411.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.1131, allocations: 11.98 kB / 411.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1131, allocations: 4 kB / 411.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.1131, allocations: 11.91 kB / 411.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1132, allocations: 7.938 kB / 411.6 MB, free: 10.29 MB / 350.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.0001239/0.1133, allocations: 167.5 kB / 411.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1133, allocations: 11.91 kB / 411.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.1134, allocations: 16.36 kB / 411.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1134, allocations: 4 kB / 411.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1134, allocations: 0 / 411.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1134, allocations: 0 / 411.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1136, allocations: 209.5 kB / 412 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1136, allocations: 0 / 412 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.1137, allocations: 8 kB / 412 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1137, allocations: 4 kB / 412 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1137, allocations: 7.984 kB / 412 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1137, allocations: 4 kB / 412 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1137, allocations: 4.328 kB / 412 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.1141, allocations: 259.4 kB / 412.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.1142, allocations: 96.94 kB / 412.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.1142, allocations: 4 kB / 412.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.1143, allocations: 7.984 kB / 412.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1143, allocations: 11.94 kB / 412.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.1144, allocations: 15.92 kB / 412.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.1145, allocations: 105.7 kB / 412.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1145, allocations: 0 / 412.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.1148, allocations: 75.98 kB / 412.5 MB, free: 9.184 MB / 350.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.0008834/0.1157, allocations: 420.8 kB / 413 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.116, allocations: 203.3 kB / 413.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1161, allocations: 0 / 413.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1162, allocations: 139.4 kB / 413.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1165, allocations: 20.81 kB / 413.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.117, allocations: 273.1 kB / 413.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1173, allocations: 0.7004 MB / 414.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.1173, allocations: 7.984 kB / 414.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1174, allocations: 23.42 kB / 414.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1174, allocations: 0 / 414.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of Templates: time 0.005577/0.123, allocations: 2.539 MB / 416.8 MB, free: 4.906 MB / 350.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)