Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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.001613/0.001613, allocations: 110.2 kB / 19.69 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.001559/0.001559, allocations: 217.5 kB / 23.01 MB, free: 4.566 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.01514/0.01514, allocations: 3.272 MB / 316.5 MB, free: 15.85 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.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") translateModel(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") [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.002052/0.002052, allocations: 59.91 kB / 440.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1342, allocations: 54.38 MB / 495.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003658/0.1378, allocations: 1.685 MB / 496.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.1411, allocations: 1.874 MB / 498.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1412, allocations: 0 / 498.8 MB, free: 1.793 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:147:3-177:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.142, allocations: 171 kB / 498.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.1421, allocations: 67.67 kB / 499 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1424, allocations: 83.78 kB / 499.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1425, allocations: 79.78 kB / 499.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.1426, allocations: 11.97 kB / 499.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.1427, allocations: 35.86 kB / 499.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1429, allocations: 35.84 kB / 499.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1429, allocations: 8 kB / 499.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.1434, allocations: 271.7 kB / 499.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.1434, allocations: 15.94 kB / 499.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.1435, allocations: 39.72 kB / 499.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.1439, allocations: 251.3 kB / 499.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1439, allocations: 7.938 kB / 499.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1439, allocations: 0 / 499.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1439, allocations: 0 / 499.8 MB, free: 0.7383 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006794/0.1446, allocations: 379.2 kB / 0.4885 GB, free: 340 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1447, allocations: 16.03 kB / 0.4885 GB, free: 324 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.1447, allocations: 8.891 kB / 0.4885 GB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.145, allocations: 142.3 kB / 0.4886 GB, free: 148 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.145, allocations: 384 / 0.4886 GB, free: 148 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.145, allocations: 8.125 kB / 0.4886 GB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1452, allocations: 91.38 kB / 0.4887 GB, free: 36 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1453, allocations: 0 / 0.4887 GB, free: 36 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1453, allocations: 0 / 0.4887 GB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1453, allocations: 4 kB / 0.4887 GB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1454, allocations: 47.91 kB / 0.4888 GB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.1458, allocations: 264.8 kB / 0.489 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.146, allocations: 73.14 kB / 0.4891 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1461, allocations: 45.73 kB / 0.4891 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1461, allocations: 0 / 0.4891 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.1463, allocations: 134.7 kB / 0.4893 GB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1463, allocations: 0 / 0.4893 GB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005025/0.1468, allocations: 231.4 kB / 0.4895 GB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1469, allocations: 106.8 kB / 0.4896 GB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1471, allocations: 141.8 kB / 0.4897 GB, free: 14.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1471, allocations: 25.7 kB / 0.4897 GB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.1472, allocations: 92.12 kB / 0.4898 GB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.1472, allocations: 27.75 kB / 0.4899 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.1473, allocations: 25.7 kB / 0.4899 GB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1474, allocations: 326.9 kB / 0.4902 GB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.1475, allocations: 35.98 kB / 0.4902 GB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.1476, allocations: 45.7 kB / 0.4903 GB, free: 14.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1478, allocations: 149 kB / 0.4904 GB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1478, allocations: 0 / 0.4904 GB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003048/0.1481, allocations: 183.2 kB / 0.4906 GB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.1482, allocations: 45.62 kB / 0.4906 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1482, allocations: 4 kB / 0.4906 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1482, allocations: 0 / 0.4906 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.1483, allocations: 11.94 kB / 0.4906 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1483, allocations: 0 / 0.4906 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.1484, allocations: 15.92 kB / 0.4907 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1484, allocations: 7.938 kB / 0.4907 GB, free: 13.82 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 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001473/0.1485, allocations: 155.7 kB / 0.4908 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.1485, allocations: 23.88 kB / 0.4908 GB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.1486, allocations: 4.375 kB / 0.4908 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1486, allocations: 4 kB / 0.4908 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1486, allocations: 0 / 0.4908 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1486, allocations: 0 / 0.4908 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.1488, allocations: 176.6 kB / 0.491 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1488, allocations: 0 / 0.491 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.1488, allocations: 12.06 kB / 0.491 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1488, allocations: 0 / 0.491 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1488, allocations: 7.984 kB / 0.491 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1488, allocations: 4 kB / 0.491 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1489, allocations: 3.938 kB / 0.491 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.1492, allocations: 239.5 kB / 0.4913 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.1493, allocations: 7.953 kB / 0.4913 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.1493, allocations: 4 kB / 0.4913 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.1493, allocations: 15.98 kB / 0.4913 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1494, allocations: 3.938 kB / 0.4913 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1494, allocations: 7.938 kB / 0.4913 GB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.899e-05/0.1495, allocations: 113.1 kB / 0.4914 GB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1495, allocations: 0 / 0.4914 GB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.1499, allocations: 91.67 kB / 0.4915 GB, free: 12.88 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,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.001516/0.1514, allocations: 438.2 kB / 0.4919 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.1517, allocations: 155.3 kB / 0.4921 GB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1517, allocations: 0 / 0.4921 GB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1519, allocations: 103.4 kB / 0.4922 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1521, allocations: 19.92 kB / 0.4922 GB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.1526, allocations: 232.7 kB / 0.4924 GB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.153, allocations: 0.6964 MB / 0.4931 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.1531, allocations: 27.42 kB / 0.4931 GB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1531, allocations: 0 / 0.4931 GB, free: 11.24 MB / 366.1 MB Notification: Performance of Templates: time 0.005878/0.1589, allocations: 2.934 MB / 0.496 GB, free: 8.316 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.SSVTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & ./ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.051758247194812] Failed to read output from testmodel.py, exit status != 0: 0.16747112991288304 0.41214924499999994 0.26506158099999994 Calling exit ...