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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 220.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01637/0.01637, allocations: 3.262 MB / 316.5 MB, free: 15.89 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.88 kB / 440.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1164, allocations: 54.38 MB / 495.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003432/0.1198, allocations: 1.702 MB / 496.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1227, allocations: 1.765 MB / 498.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.1228, allocations: 4 kB / 498.7 MB, free: 2.117 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.1232, allocations: 39.78 kB / 498.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.1236, allocations: 119.4 kB / 498.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1238, allocations: 99.77 kB / 498.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.124, allocations: 91.77 kB / 499 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1241, allocations: 16.22 kB / 499 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.1242, allocations: 51.78 kB / 499.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1244, allocations: 39.78 kB / 499.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1244, allocations: 8 kB / 499.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.1248, allocations: 203.8 kB / 499.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.1248, allocations: 27.84 kB / 499.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.1249, allocations: 43.8 kB / 499.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.1253, allocations: 247.3 kB / 499.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1253, allocations: 0 / 499.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1253, allocations: 0 / 499.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1253, allocations: 4 kB / 499.6 MB, free: 1.141 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.000672/0.126, allocations: 391.2 kB / 0.4883 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.126, allocations: 8.031 kB / 0.4883 GB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.1261, allocations: 8.891 kB / 0.4883 GB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1264, allocations: 152.2 kB / 0.4885 GB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1264, allocations: 4.375 kB / 0.4885 GB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1264, allocations: 12.12 kB / 0.4885 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1267, allocations: 103.4 kB / 0.4886 GB, free: 416 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1267, allocations: 0 / 0.4886 GB, free: 416 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1267, allocations: 0 / 0.4886 GB, free: 416 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1267, allocations: 0 / 0.4886 GB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1268, allocations: 63.91 kB / 0.4886 GB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.1273, allocations: 284.8 kB / 0.4889 GB, free: 20 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.1276, allocations: 101.2 kB / 0.489 GB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1277, allocations: 49.75 kB / 0.4891 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1277, allocations: 4 kB / 0.4891 GB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1279, allocations: 150.7 kB / 0.4892 GB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.1279, allocations: 0 / 0.4892 GB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005257/0.1285, allocations: 251.3 kB / 0.4894 GB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.1286, allocations: 114.8 kB / 0.4895 GB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1287, allocations: 145.3 kB / 0.4897 GB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1287, allocations: 29.7 kB / 0.4897 GB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.1288, allocations: 88.14 kB / 0.4898 GB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1288, allocations: 31.73 kB / 0.4898 GB, free: 14.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1289, allocations: 25.72 kB / 0.4899 GB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.129, allocations: 326.8 kB / 0.4902 GB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.1291, allocations: 35.98 kB / 0.4902 GB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.1292, allocations: 61.69 kB / 0.4903 GB, free: 14.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.1295, allocations: 168.9 kB / 0.4904 GB, free: 14.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1295, allocations: 4 kB / 0.4904 GB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003464/0.1298, allocations: 199.2 kB / 0.4906 GB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.1299, allocations: 41.69 kB / 0.4907 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1299, allocations: 0 / 0.4907 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1299, allocations: 0 / 0.4907 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.1299, allocations: 12 kB / 0.4907 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.13, allocations: 0 / 0.4907 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.13, allocations: 15.88 kB / 0.4907 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.13, allocations: 11.94 kB / 0.4907 GB, free: 14.03 MB / 366.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.0001549/0.1302, allocations: 167.8 kB / 0.4909 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1302, allocations: 7.953 kB / 0.4909 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.1303, allocations: 12.38 kB / 0.4909 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1303, allocations: 0 / 0.4909 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1303, allocations: 0 / 0.4909 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1303, allocations: 0 / 0.4909 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1305, allocations: 192.6 kB / 0.4911 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1305, allocations: 3.938 kB / 0.4911 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1305, allocations: 15.92 kB / 0.4911 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1305, allocations: 0 / 0.4911 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1305, allocations: 12 kB / 0.4911 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1305, allocations: 0 / 0.4911 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1305, allocations: 0 / 0.4911 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.1309, allocations: 259.5 kB / 0.4913 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.131, allocations: 11.95 kB / 0.4913 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.131, allocations: 4 kB / 0.4913 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.1311, allocations: 8 kB / 0.4914 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1311, allocations: 11.92 kB / 0.4914 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1311, allocations: 7.938 kB / 0.4914 GB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.707e-05/0.1312, allocations: 115.2 kB / 0.4915 GB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1312, allocations: 0 / 0.4915 GB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.1315, allocations: 79.69 kB / 0.4916 GB, free: 13.05 MB / 366.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.001293/0.1328, allocations: 423.5 kB / 0.492 GB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.1332, allocations: 167.4 kB / 0.4921 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1332, allocations: 4 kB / 0.4921 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1333, allocations: 119.4 kB / 0.4922 GB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1336, allocations: 15.28 kB / 0.4923 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.1341, allocations: 256.5 kB / 0.4925 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1345, allocations: 0.6924 MB / 0.4932 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.1345, allocations: 19.42 kB / 0.4932 GB, free: 11.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1345, allocations: 0 / 0.4932 GB, free: 11.39 MB / 366.1 MB Notification: Performance of Templates: time 0.005256/0.1398, allocations: 2.71 MB / 0.4958 GB, free: 8.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9915866809897125] Failed to read output from testmodel.py, exit status != 0: 0.1481317130383104 0.390299162 0.26177748199999995 Calling exit ...