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.00185/0.00185, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002116/0.002116, allocations: 214.6 kB / 22.99 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.0164/0.0164, allocations: 3.281 MB / 316.5 MB, free: 15.62 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.002021/0.002021, allocations: 68.19 kB / 440.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1108, allocations: 54.39 MB / 495.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003411/0.1142, allocations: 1.666 MB / 496.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.1173, allocations: 1.808 MB / 498.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.1174, allocations: 0 / 498.6 MB, free: 1.484 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.0007615/0.1181, allocations: 163.4 kB / 498.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1183, allocations: 59.75 kB / 498.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1186, allocations: 94.27 kB / 498.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1187, allocations: 79.72 kB / 499 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.1188, allocations: 12 kB / 499 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.1189, allocations: 31.91 kB / 499 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.119, allocations: 39.78 kB / 499.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.119, allocations: 7.938 kB / 499.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.1194, allocations: 239.7 kB / 499.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.1195, allocations: 19.98 kB / 499.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.1195, allocations: 23.86 kB / 499.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.1199, allocations: 255.2 kB / 499.6 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.12, allocations: 0 / 499.6 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.12, allocations: 0 / 499.6 MB, free: 492 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.12, allocations: 0 / 499.6 MB, free: 492 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.0006019/0.1206, allocations: 391.1 kB / 500 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1206, allocations: 8.031 kB / 500 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1206, allocations: 8.891 kB / 0.4883 GB, free: 48 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1209, allocations: 134.4 kB / 0.4884 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1209, allocations: 4.375 kB / 0.4884 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1209, allocations: 4.125 kB / 0.4884 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1212, allocations: 125 kB / 0.4885 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1212, allocations: 0 / 0.4885 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1212, allocations: 0 / 0.4885 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1212, allocations: 8 kB / 0.4885 GB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1214, allocations: 77.66 kB / 0.4886 GB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.1217, allocations: 241.3 kB / 0.4888 GB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1219, allocations: 102.8 kB / 0.4889 GB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.122, allocations: 79.44 kB / 0.489 GB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.122, allocations: 0 / 0.489 GB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.1223, allocations: 172.4 kB / 0.4892 GB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.106e-06/0.1223, allocations: 11.92 kB / 0.4892 GB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005132/0.1228, allocations: 282.6 kB / 0.4895 GB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.1229, allocations: 110.8 kB / 0.4896 GB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.123, allocations: 137.5 kB / 0.4897 GB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.123, allocations: 29.7 kB / 0.4897 GB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.1231, allocations: 96.06 kB / 0.4898 GB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.1231, allocations: 27.95 kB / 0.4899 GB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.1232, allocations: 25.7 kB / 0.4899 GB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1233, allocations: 322.8 kB / 0.4902 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1234, allocations: 69.81 kB / 0.4903 GB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1236, allocations: 83.39 kB / 0.4903 GB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.1238, allocations: 156.9 kB / 0.4905 GB, free: 13.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1238, allocations: 0 / 0.4905 GB, free: 13.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003381/0.1241, allocations: 220.9 kB / 0.4907 GB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.1242, allocations: 41.69 kB / 0.4907 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1242, allocations: 0 / 0.4907 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1242, allocations: 0 / 0.4907 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.1243, allocations: 12.03 kB / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1243, allocations: 0 / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.1243, allocations: 15.86 kB / 0.4908 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1243, allocations: 4 kB / 0.4908 GB, free: 13.21 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.0001456/0.1245, allocations: 163.4 kB / 0.4909 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1245, allocations: 11.95 kB / 0.4909 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.1245, allocations: 12.38 kB / 0.4909 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1245, allocations: 0 / 0.4909 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1245, allocations: 0 / 0.4909 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1246, allocations: 0 / 0.4909 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1247, allocations: 141.1 kB / 0.4911 GB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1247, allocations: 0 / 0.4911 GB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.1248, allocations: 11.98 kB / 0.4911 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1248, allocations: 0 / 0.4911 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1248, allocations: 4 kB / 0.4911 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1248, allocations: 0 / 0.4911 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1248, allocations: 0 / 0.4911 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.1252, allocations: 285.1 kB / 0.4914 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.1252, allocations: 7.953 kB / 0.4914 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1252, allocations: 4 kB / 0.4914 GB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.1253, allocations: 12.11 kB / 0.4914 GB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1253, allocations: 8 kB / 0.4914 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1254, allocations: 8 kB / 0.4914 GB, free: 12.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1255, allocations: 107.2 kB / 0.4915 GB, free: 12.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1255, allocations: 0 / 0.4915 GB, free: 12.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.1258, allocations: 83.73 kB / 0.4916 GB, free: 12.29 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.001517/0.1273, allocations: 464.2 kB / 0.492 GB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.1277, allocations: 230.6 kB / 0.4922 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1277, allocations: 0 / 0.4922 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1279, allocations: 141 kB / 0.4924 GB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1281, allocations: 12 kB / 0.4924 GB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.1286, allocations: 262.2 kB / 0.4926 GB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/0.1287, allocations: 79.45 kB / 0.4927 GB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.1288, allocations: 31.39 kB / 0.4927 GB, free: 11.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1288, allocations: 0 / 0.4927 GB, free: 11.1 MB / 366.1 MB Notification: Performance of Templates: time 0.005883/0.1346, allocations: 2.961 MB / 0.4956 GB, free: 8.145 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: 7.725213167257607] Failed to read output from testmodel.py, exit status != 0: 0.14237334299832582 0.15765457000000002 0.034607517000000004 Calling exit ...