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.001489/0.001489, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001547/0.001547, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.481/1.481, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.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.0139/0.0139, allocations: 2.265 MB / 261.5 MB, free: 14.41 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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 385.8 MB, free: 468 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.817e-05, allocations: 5.234 kB / 385.8 MB, free: 464 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.00299/0.003018, allocations: 1.669 MB / 387.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.005965, allocations: 1.808 MB / 389.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.006047, allocations: 4 kB / 389.3 MB, free: 12.95 MB / 318.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.000996/0.007043, allocations: 171.2 kB / 389.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.007249, allocations: 71.67 kB / 389.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.0075, allocations: 83.72 kB / 389.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.007678, allocations: 87.7 kB / 389.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.007769, allocations: 3.984 kB / 389.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.007883, allocations: 51.84 kB / 389.7 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.008051, allocations: 31.2 kB / 389.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.008075, allocations: 4 kB / 389.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.008527, allocations: 247.5 kB / 390 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.008591, allocations: 11.94 kB / 390 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.008652, allocations: 31.86 kB / 390.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.009168, allocations: 295.2 kB / 390.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.009173, allocations: 0 / 390.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009174, allocations: 0 / 390.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.00918, allocations: 0 / 390.4 MB, free: 11.88 MB / 318.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.000703/0.009883, allocations: 379.1 kB / 390.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.009919, allocations: 12.03 kB / 390.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.009979, allocations: 12.89 kB / 390.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.01027, allocations: 133.7 kB / 390.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.01029, allocations: 384 / 390.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.0103, allocations: 8.375 kB / 390.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.01053, allocations: 125.6 kB / 391 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01054, allocations: 3.938 kB / 391 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.01056, allocations: 0 / 391 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.01056, allocations: 0 / 391 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.01073, allocations: 81.61 kB / 391.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.01109, allocations: 237.3 kB / 391.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.01126, allocations: 106.9 kB / 391.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.01139, allocations: 87.31 kB / 391.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.0114, allocations: 0 / 391.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.01165, allocations: 164.5 kB / 391.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.01165, allocations: 4 kB / 391.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005429/0.01219, allocations: 278.6 kB / 392 MB, free: 10.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.01229, allocations: 110.8 kB / 392.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.01244, allocations: 133.8 kB / 392.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.01246, allocations: 25.7 kB / 392.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.01253, allocations: 96.25 kB / 392.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.01257, allocations: 31.89 kB / 392.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.01262, allocations: 21.72 kB / 392.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.0128, allocations: 326.8 kB / 392.7 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.01296, allocations: 69.67 kB / 392.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.01308, allocations: 83.39 kB / 392.8 MB, free: 9.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.01331, allocations: 148.9 kB / 393 MB, free: 8.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.01331, allocations: 3.938 kB / 393 MB, free: 8.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003743/0.01369, allocations: 225 kB / 393.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.01373, allocations: 37.69 kB / 393.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01374, allocations: 0 / 393.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.01376, allocations: 0 / 393.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.01385, allocations: 23.86 kB / 393.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01386, allocations: 4 kB / 393.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.01393, allocations: 4 kB / 393.3 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01394, allocations: 4 kB / 393.3 MB, free: 8.633 MB / 318.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.0001679/0.01411, allocations: 155.5 kB / 393.4 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.01414, allocations: 15.98 kB / 393.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.01417, allocations: 12.42 kB / 393.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01417, allocations: 0 / 393.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.01418, allocations: 4 kB / 393.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.01418, allocations: 0 / 393.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.01432, allocations: 129.2 kB / 393.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.01433, allocations: 7.938 kB / 393.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.01438, allocations: 4 kB / 393.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01438, allocations: 4 kB / 393.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01439, allocations: 3.984 kB / 393.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.0144, allocations: 4 kB / 393.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0144, allocations: 4 kB / 393.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.01483, allocations: 269.3 kB / 393.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.01486, allocations: 27.75 kB / 393.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.01489, allocations: 4.125 kB / 393.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.01495, allocations: 8 kB / 393.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.01498, allocations: 7.969 kB / 393.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.015, allocations: 8 kB / 393.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.424e-05/0.0151, allocations: 107.3 kB / 394 MB, free: 7.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0151, allocations: 0 / 394 MB, free: 7.793 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.01544, allocations: 91.73 kB / 394.1 MB, free: 7.703 MB / 318.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.001524/0.01697, allocations: 466.7 kB / 394.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.01733, allocations: 214.8 kB / 394.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01733, allocations: 4 kB / 394.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.0175, allocations: 141 kB / 394.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01772, allocations: 22.94 kB / 395 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.01831, allocations: 255.8 kB / 395.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.0184, allocations: 87.38 kB / 395.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.01843, allocations: 4 kB / 395.3 MB, free: 6.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.01849, allocations: 28.47 kB / 395.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01849, allocations: 0 / 395.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of Templates: time 0.007517/0.02601, allocations: 2.909 MB / 398.2 MB, free: 3.621 MB / 318.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: 4.489453963935375] Failed to read output from testmodel.py, exit status != 0: 0.03547083958983421 0.050177575 0.037934903 Calling exit ...