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.001042/0.001042, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001306/0.001306, allocations: 172.7 kB / 15.95 MB, free: 208 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.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1746/0.1746, allocations: 2.952 MB / 294 MB, free: 3.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004343, allocations: 8 kB / 355.9 MB, free: 3.637 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 51.36 MB / 407.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002047/0.1143, allocations: 1.381 MB / 408.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1164, allocations: 1.491 MB / 410.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.1164, allocations: 4 kB / 410.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1167, allocations: 31.86 kB / 410.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.117, allocations: 99.64 kB / 410.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1172, allocations: 63.94 kB / 410.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1174, allocations: 79.77 kB / 410.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1175, allocations: 16.2 kB / 410.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.1175, allocations: 35.8 kB / 410.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1177, allocations: 35.83 kB / 410.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1177, allocations: 4 kB / 410.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.118, allocations: 175.8 kB / 410.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.1181, allocations: 15.92 kB / 410.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.1181, allocations: 49.58 kB / 410.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1184, allocations: 191.9 kB / 411 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1184, allocations: 0 / 411 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1184, allocations: 4 kB / 411 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1184, allocations: 0 / 411 MB, free: 12.54 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.0006333/0.1191, allocations: 460.7 kB / 411.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1191, allocations: 11.97 kB / 411.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.1192, allocations: 38.56 kB / 411.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1192, allocations: 11.81 kB / 411.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1195, allocations: 217.6 kB / 411.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1195, allocations: 4 kB / 411.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1195, allocations: 7.984 kB / 411.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.1197, allocations: 103.3 kB / 411.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1197, allocations: 0 / 411.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1198, allocations: 4 kB / 411.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1198, allocations: 0 / 411.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1199, allocations: 63.97 kB / 411.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1204, allocations: 333.7 kB / 412.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1206, allocations: 101.2 kB / 412.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1208, allocations: 73.77 kB / 412.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1208, allocations: 0 / 412.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.121, allocations: 146.8 kB / 412.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.121, allocations: 0 / 412.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004825/0.1215, allocations: 255.2 kB / 412.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1216, allocations: 110.8 kB / 412.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1217, allocations: 157.8 kB / 413 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1218, allocations: 29.7 kB / 413 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1218, allocations: 100.1 kB / 413.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.1219, allocations: 35.52 kB / 413.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.1219, allocations: 0 / 413.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.122, allocations: 322.8 kB / 413.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.266e-05/0.1221, allocations: 43.98 kB / 413.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.1222, allocations: 61.88 kB / 413.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1223, allocations: 77.69 kB / 413.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1223, allocations: 0 / 413.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002999/0.1226, allocations: 207.1 kB / 413.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.1227, allocations: 37.7 kB / 413.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1227, allocations: 0 / 413.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1227, allocations: 4 kB / 413.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.1228, allocations: 15.98 kB / 413.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1228, allocations: 8.016 kB / 413.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.1229, allocations: 15.91 kB / 414 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.1229, allocations: 8 kB / 414 MB, free: 9.223 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.0001249/0.123, allocations: 163.5 kB / 414.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1231, allocations: 15.84 kB / 414.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.1231, allocations: 13.03 kB / 414.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1231, allocations: 4 kB / 414.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1231, allocations: 0 / 414.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1231, allocations: 7.938 kB / 414.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.1233, allocations: 229.5 kB / 414.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1233, allocations: 0 / 414.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.1234, allocations: 8 kB / 414.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1234, allocations: 4 kB / 414.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1234, allocations: 0 / 414.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1234, allocations: 4 kB / 414.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1234, allocations: 0 / 414.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.1238, allocations: 279.4 kB / 414.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1238, allocations: 93 kB / 414.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.1239, allocations: 4 kB / 414.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.124, allocations: 12 kB / 414.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.124, allocations: 3.984 kB / 414.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.124, allocations: 4 kB / 414.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1242, allocations: 137.3 kB / 414.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1242, allocations: 0 / 414.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000303/0.1245, allocations: 71.98 kB / 415 MB, free: 8.082 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.001451/0.1259, allocations: 1.123 MB / 416.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1263, allocations: 203.3 kB / 416.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1263, allocations: 0 / 416.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1264, allocations: 151.3 kB / 416.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1267, allocations: 21 kB / 416.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1281, allocations: 0.8633 MB / 417.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.1284, allocations: 0.7043 MB / 418.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.1285, allocations: 16.42 kB / 418.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.1285, allocations: 35.42 kB / 418.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1285, allocations: 0 / 418.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.144, allocations: 3.994 MB / 422.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.1442, allocations: 230.8 kB / 422.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.234, allocations: 7.875 kB / 422.3 MB, free: 0.832 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: