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.3-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-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.0009472/0.0009472, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001058/0.001058, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1502/0.1502, allocations: 2.954 MB / 293.9 MB, free: 3.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 8.219 kB / 355.8 MB, free: 3.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 51.36 MB / 407.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002364/0.1374, allocations: 1.373 MB / 408.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.1398, allocations: 1.495 MB / 410.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.1399, allocations: 4 kB / 410.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1402, allocations: 35.78 kB / 410.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.1405, allocations: 95.7 kB / 410.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1408, allocations: 63.73 kB / 410.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1409, allocations: 55.88 kB / 410.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.141, allocations: 12.2 kB / 410.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.1411, allocations: 39.84 kB / 410.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1413, allocations: 31.84 kB / 410.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1413, allocations: 7.938 kB / 410.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.1416, allocations: 159.8 kB / 410.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.1417, allocations: 19.92 kB / 410.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.1417, allocations: 41.64 kB / 410.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1421, allocations: 187.9 kB / 410.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1421, allocations: 0 / 410.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1421, allocations: 0 / 410.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1421, allocations: 0 / 410.8 MB, free: 12.64 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.0008173/0.1429, allocations: 464.6 kB / 411.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.143, allocations: 12.03 kB / 411.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.143, allocations: 38.55 kB / 411.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.1431, allocations: 15.81 kB / 411.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1434, allocations: 212.8 kB / 411.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1434, allocations: 8 kB / 411.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1434, allocations: 8 kB / 411.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1437, allocations: 99.31 kB / 411.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1437, allocations: 7.984 kB / 411.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1437, allocations: 4 kB / 411.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1437, allocations: 4 kB / 411.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1439, allocations: 63.91 kB / 411.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1444, allocations: 329.7 kB / 412 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1447, allocations: 105.2 kB / 412.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.1448, allocations: 0 / 412.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.1451, allocations: 150.8 kB / 412.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1451, allocations: 0 / 412.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006186/0.1457, allocations: 336.5 kB / 412.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.1458, allocations: 114.8 kB / 412.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.146, allocations: 157.8 kB / 412.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.146, allocations: 33.7 kB / 412.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.1461, allocations: 96.14 kB / 413 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.1462, allocations: 35.48 kB / 413.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.1462, allocations: 0 / 413.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1464, allocations: 322.8 kB / 413.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.687e-05/0.1465, allocations: 39.98 kB / 413.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1466, allocations: 65.69 kB / 413.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1467, allocations: 73.69 kB / 413.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1467, allocations: 3.938 kB / 413.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003087/0.147, allocations: 199.2 kB / 413.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.1471, allocations: 44.03 kB / 413.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1471, allocations: 3.938 kB / 413.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1471, allocations: 4 kB / 413.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1472, allocations: 15.98 kB / 413.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1472, allocations: 3.953 kB / 413.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.1473, allocations: 11.91 kB / 413.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1473, allocations: 4 kB / 413.8 MB, free: 9.297 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 ($whenCondition1,component.timeTable.a,component.timeTable.b,component.timeTable.last,$PRE.component.timeTable.nextEvent,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.1475, allocations: 173.6 kB / 414 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1475, allocations: 11.91 kB / 414 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.1476, allocations: 16.7 kB / 414 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1476, allocations: 0 / 414 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1476, allocations: 4 kB / 414 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1476, allocations: 4.281 kB / 414 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1478, allocations: 217.5 kB / 414.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1478, allocations: 0 / 414.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1479, allocations: 11.98 kB / 414.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1479, allocations: 4 kB / 414.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1479, allocations: 3.984 kB / 414.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1479, allocations: 4 kB / 414.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1479, allocations: 3.984 kB / 414.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.1483, allocations: 281.1 kB / 414.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.1484, allocations: 96.98 kB / 414.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1484, allocations: 4 kB / 414.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1485, allocations: 12.06 kB / 414.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.1486, allocations: 19.94 kB / 414.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1486, allocations: 4 kB / 414.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1487, allocations: 119.2 kB / 414.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1487, allocations: 0 / 414.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.149, allocations: 75.98 kB / 414.9 MB, free: 8.137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/0.1506, allocations: 1.198 MB / 416.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.1509, allocations: 211.3 kB / 416.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1509, allocations: 0 / 416.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1511, allocations: 147.3 kB / 416.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.1513, allocations: 15.94 kB / 416.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1527, allocations: 1.003 MB / 417.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.153, allocations: 0.7043 MB / 418.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.1531, allocations: 12.42 kB / 418.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.1531, allocations: 39.59 kB / 418.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1531, allocations: 0 / 418.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.1696, allocations: 3.976 MB / 422.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.1699, allocations: 230.1 kB / 422.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.912, allocations: 0 / 422.4 MB, free: 0.6836 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/linux/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) Environment - environmentSimulation: