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: "" <> buildModelFMU(ExternData.Examples.XMLTestInnerOuter,fileNamePrefix="ExternData_ExternData_Examples_XMLTestInnerOuter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XMLTestInnerOuter,fileNamePrefix="ExternData_ExternData_Examples_XMLTestInnerOuter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007567/0.000757, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004615/0.004615, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1313/0.1313, allocations: 2.955 MB / 294.4 MB, free: 3.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.000329, allocations: 8 kB / 356.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08646, allocations: 51.35 MB / 407.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002037/0.08853, allocations: 1.396 MB / 409.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.09084, allocations: 1.592 MB / 410.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.09095, allocations: 0 / 410.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.09123, allocations: 39.84 kB / 411 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.09158, allocations: 99.59 kB / 411.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.09184, allocations: 67.88 kB / 411.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.09198, allocations: 79.83 kB / 411.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.09207, allocations: 20.2 kB / 411.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.09216, allocations: 35.8 kB / 411.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.09233, allocations: 35.84 kB / 411.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.09235, allocations: 4 kB / 411.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.09269, allocations: 199.7 kB / 411.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.09276, allocations: 23.91 kB / 411.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.09285, allocations: 69.44 kB / 411.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.09324, allocations: 239.7 kB / 411.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.09325, allocations: 4 kB / 411.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09326, allocations: 0 / 411.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.09327, allocations: 0 / 411.8 MB, free: 11.95 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.000607/0.09388, allocations: 472.8 kB / 412.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.09392, allocations: 8.031 kB / 412.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.09397, allocations: 42.69 kB / 412.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.09402, allocations: 12.75 kB / 412.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.09424, allocations: 210.4 kB / 412.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.09426, allocations: 384 / 412.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.09428, allocations: 7.938 kB / 412.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.09452, allocations: 111.3 kB / 412.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.09453, allocations: 0 / 412.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.09455, allocations: 0 / 412.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.09456, allocations: 3.938 kB / 412.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.09472, allocations: 67.89 kB / 412.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.09514, allocations: 337.6 kB / 413.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.09541, allocations: 113.2 kB / 413.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.09554, allocations: 61.75 kB / 413.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.09556, allocations: 4 kB / 413.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.0958, allocations: 154.9 kB / 413.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.09581, allocations: 3.938 kB / 413.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005032/0.09632, allocations: 255.2 kB / 413.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.09639, allocations: 106.8 kB / 413.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.09654, allocations: 161.7 kB / 413.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.09657, allocations: 25.7 kB / 413.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.09664, allocations: 100.1 kB / 414 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.09668, allocations: 23.66 kB / 414 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.09672, allocations: 17.7 kB / 414.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.09683, allocations: 326.8 kB / 414.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.09693, allocations: 47.98 kB / 414.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.09704, allocations: 57.69 kB / 414.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.09726, allocations: 168.9 kB / 414.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.09727, allocations: 0 / 414.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003319/0.09761, allocations: 207.2 kB / 414.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.09766, allocations: 39.25 kB / 414.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.09767, allocations: 0 / 414.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.09769, allocations: 4 kB / 414.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.09776, allocations: 11.94 kB / 414.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.09777, allocations: 3.984 kB / 414.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.09787, allocations: 19.84 kB / 414.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.09789, allocations: 4 kB / 414.9 MB, free: 8.504 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.0001276/0.09802, allocations: 167.5 kB / 415.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.09806, allocations: 11.91 kB / 415.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.09809, allocations: 12.7 kB / 415.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.0981, allocations: 4 kB / 415.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.09811, allocations: 0 / 415.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.09812, allocations: 7.875 kB / 415.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.09831, allocations: 221.5 kB / 415.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.09832, allocations: 0 / 415.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.09838, allocations: 11.98 kB / 415.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.09839, allocations: 8 kB / 415.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.09841, allocations: 4 kB / 415.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.09842, allocations: 4 kB / 415.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09842, allocations: 0 / 415.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.09882, allocations: 259.4 kB / 415.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.09889, allocations: 100.9 kB / 415.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.09894, allocations: 11.98 kB / 415.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.09902, allocations: 8.328 kB / 415.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.09908, allocations: 11.88 kB / 415.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.09911, allocations: 7.984 kB / 415.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.09922, allocations: 125.5 kB / 415.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.09923, allocations: 0 / 415.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.09959, allocations: 75.98 kB / 416 MB, free: 7.363 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.00158/0.1012, allocations: 1.13 MB / 417.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.1015, allocations: 207.3 kB / 417.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1015, allocations: 0 / 417.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1017, allocations: 147.3 kB / 417.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1019, allocations: 15.94 kB / 417.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.1041, allocations: 1.964 MB / 419.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1044, allocations: 0.7005 MB / 420.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.008e-05/0.1045, allocations: 20.41 kB / 420.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.1045, allocations: 35.41 kB / 420.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1045, allocations: 4 kB / 420.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.33/0.4345, allocations: 3.999 MB / 424.2 MB, free: 46.72 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.4347, allocations: 253.8 kB / 424.4 MB, free: 46.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.357, allocations: 0 / 424.4 MB, free: 46.47 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XMLTestInnerOuter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XMLTestInnerOuter.fmu > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1)