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.002087/0.002087, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002272/0.002272, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.785 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.0171/0.0171, allocations: 3.269 MB / 315.7 MB, free: 15.61 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.002109/0.002109, allocations: 67.91 kB / 440 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1237, allocations: 54.37 MB / 494.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003512/0.1272, allocations: 1.67 MB / 496 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.1306, allocations: 1.804 MB / 497.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1307, allocations: 0 / 497.8 MB, free: 1.461 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.0009244/0.1317, allocations: 163.4 kB / 498 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.1319, allocations: 67.69 kB / 498.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1322, allocations: 87.78 kB / 498.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1324, allocations: 79.77 kB / 498.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1325, allocations: 11.94 kB / 498.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1326, allocations: 39.84 kB / 498.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1328, allocations: 38.66 kB / 498.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1328, allocations: 4 kB / 498.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.1333, allocations: 239.7 kB / 498.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.1334, allocations: 19.94 kB / 498.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.1335, allocations: 23.86 kB / 498.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.134, allocations: 259.2 kB / 498.9 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.134, allocations: 0 / 498.9 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.134, allocations: 3.938 kB / 498.9 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.134, allocations: 0 / 498.9 MB, free: 456 kB / 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.0007545/0.1348, allocations: 383.2 kB / 499.2 MB, free: 36 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1348, allocations: 8.031 kB / 499.2 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.1349, allocations: 8.891 kB / 499.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1352, allocations: 134.4 kB / 499.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1352, allocations: 8.312 kB / 499.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1353, allocations: 12.12 kB / 499.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1355, allocations: 125 kB / 499.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1355, allocations: 0 / 499.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1356, allocations: 0 / 499.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1356, allocations: 4 kB / 499.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1357, allocations: 73.67 kB / 499.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1362, allocations: 233.3 kB / 499.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1364, allocations: 102.9 kB / 499.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1365, allocations: 79.45 kB / 0.4883 GB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1366, allocations: 0 / 0.4883 GB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.1368, allocations: 172.4 kB / 0.4884 GB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1368, allocations: 0 / 0.4884 GB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005759/0.1374, allocations: 294.7 kB / 0.4887 GB, free: 14.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.1375, allocations: 106.8 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1376, allocations: 137.8 kB / 0.489 GB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1377, allocations: 29.7 kB / 0.489 GB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.1377, allocations: 96.2 kB / 0.4891 GB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1378, allocations: 27.8 kB / 0.4891 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1378, allocations: 25.66 kB / 0.4891 GB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.138, allocations: 322.8 kB / 0.4894 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1381, allocations: 69.67 kB / 0.4895 GB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1382, allocations: 79.41 kB / 0.4896 GB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.1385, allocations: 160.9 kB / 0.4897 GB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1385, allocations: 4.062 kB / 0.4897 GB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003732/0.1388, allocations: 221 kB / 0.49 GB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.1389, allocations: 41.69 kB / 0.49 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1389, allocations: 3.938 kB / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1389, allocations: 0 / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.139, allocations: 11.98 kB / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.139, allocations: 0 / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.1391, allocations: 7.938 kB / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1391, allocations: 4 kB / 0.49 GB, free: 13.19 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.0001722/0.1393, allocations: 166.5 kB / 0.4902 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1393, allocations: 15.98 kB / 0.4902 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.1393, allocations: 16.36 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1393, allocations: 0 / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1394, allocations: 96 / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1394, allocations: 3.984 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1395, allocations: 137.2 kB / 0.4903 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1395, allocations: 0 / 0.4903 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.1396, allocations: 8 kB / 0.4904 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1396, allocations: 0 / 0.4904 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1396, allocations: 7.984 kB / 0.4904 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.1396, allocations: 0 / 0.4904 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1396, allocations: 4 kB / 0.4904 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.1401, allocations: 281.1 kB / 0.4906 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.1401, allocations: 7.953 kB / 0.4906 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.1401, allocations: 7.984 kB / 0.4906 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.1402, allocations: 4 kB / 0.4906 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.1402, allocations: 7.984 kB / 0.4907 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1403, allocations: 8 kB / 0.4907 GB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1404, allocations: 106.9 kB / 0.4908 GB, free: 12.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1404, allocations: 0 / 0.4908 GB, free: 12.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.1408, allocations: 87.67 kB / 0.4909 GB, free: 12.26 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.001548/0.1423, allocations: 452.6 kB / 0.4913 GB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004636/0.1428, allocations: 230.6 kB / 0.4915 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1428, allocations: 0 / 0.4915 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.143, allocations: 137 kB / 0.4916 GB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1432, allocations: 22.61 kB / 0.4917 GB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.1438, allocations: 252.5 kB / 0.4919 GB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.1439, allocations: 95.23 kB / 0.492 GB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.144, allocations: 4 kB / 0.492 GB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.144, allocations: 19.42 kB / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.144, allocations: 0 / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of Templates: time 0.007442/0.1514, allocations: 2.938 MB / 0.4949 GB, free: 8.16 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 sys.exit(0), Time elapsed: 5.228525415062904] Failed to read output from testmodel.py, exit status != 0: 0.16182033717632294 0.18235165699999994 0.044394619 Calling exit ...