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.0006738/0.0006738, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008993/0.001573, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007114/0.0007114, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009178/0.001629, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.878/0.878, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07688/0.9548, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.01237/0.01237, allocations: 2.252 MB / 246.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002484/0.01486, allocations: 1.42 MB / 247.6 MB, free: 11.15 MB / 250.7 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 1.052e-06/1.052e-06, allocations: 0 / 248.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.389e-05, allocations: 2.312 kB / 248.9 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.001744/0.001758, allocations: 1.764 MB / 250.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.003372, allocations: 1.909 MB / 252.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.003421, allocations: 0 / 252.6 MB, free: 6.199 MB / 250.7 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.0004126/0.003834, allocations: 162 kB / 252.7 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.003912, allocations: 63.69 kB / 252.8 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.004031, allocations: 83.7 kB / 252.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.004135, allocations: 83.78 kB / 253 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.00419, allocations: 0 / 253 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.004279, allocations: 71.77 kB / 253 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.004375, allocations: 31.89 kB / 253.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.004388, allocations: 4 kB / 253.1 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.004653, allocations: 263.6 kB / 253.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.004692, allocations: 19.94 kB / 253.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.004721, allocations: 15.94 kB / 253.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.004974, allocations: 235.3 kB / 253.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.004987, allocations: 0 / 253.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004987, allocations: 4 kB / 253.6 MB, free: 5.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.005002, allocations: 3.984 kB / 253.6 MB, free: 5.18 MB / 250.7 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.0004434/0.005445, allocations: 389.4 kB / 254 MB, free: 4.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.005472, allocations: 8.031 kB / 254 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.005504, allocations: 8.922 kB / 254 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.005645, allocations: 133.6 kB / 254.1 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.005654, allocations: 4.375 kB / 254.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.005663, allocations: 4.375 kB / 254.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.005793, allocations: 121.1 kB / 254.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.005802, allocations: 3.938 kB / 254.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/0.00581, allocations: 4 kB / 254.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005815, allocations: 0 / 254.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.00586, allocations: 56.5 kB / 254.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.006042, allocations: 168 kB / 254.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.006107, allocations: 78.86 kB / 254.5 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.006143, allocations: 55.45 kB / 254.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.006153, allocations: 4 kB / 254.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.00628, allocations: 155.3 kB / 254.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.41e-07/0.00628, allocations: 4 kB / 254.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001688/0.006449, allocations: 193.5 kB / 255 MB, free: 3.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.006487, allocations: 106.8 kB / 255.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.00656, allocations: 130.3 kB / 255.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.006572, allocations: 29.7 kB / 255.2 MB, free: 3.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.006596, allocations: 96.06 kB / 255.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.006622, allocations: 23.78 kB / 255.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.006653, allocations: 25.7 kB / 255.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.006719, allocations: 318.8 kB / 255.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.00675, allocations: 48.52 kB / 255.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.006784, allocations: 67.47 kB / 255.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.006851, allocations: 119.8 kB / 255.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006853, allocations: 0 / 255.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.184e-05/0.006945, allocations: 143.8 kB / 256 MB, free: 2.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.006977, allocations: 45.62 kB / 256.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.006981, allocations: 0 / 256.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.006989, allocations: 0 / 256.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.00705, allocations: 8 kB / 256.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.007052, allocations: 4 kB / 256.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.007086, allocations: 7.953 kB / 256.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.007094, allocations: 12.11 kB / 256.1 MB, free: 2.336 MB / 250.7 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 7.987e-05/0.007174, allocations: 154.3 kB / 256.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.007192, allocations: 19.92 kB / 256.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.87e-05/0.007211, allocations: 4.438 kB / 256.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.007214, allocations: 4 kB / 256.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.007216, allocations: 3.984 kB / 256.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.007219, allocations: 0 / 256.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.217e-05/0.007292, allocations: 89.88 kB / 256.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007293, allocations: 0 / 256.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.007317, allocations: 8 kB / 256.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.007329, allocations: 15.88 kB / 256.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.00733, allocations: 7.938 kB / 256.4 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.007337, allocations: 0 / 256.4 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.00734, allocations: 8.062 kB / 256.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.00734, allocations: 0 / 256.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.007468, allocations: 194.9 kB / 256.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.007489, allocations: 7.938 kB / 256.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.499e-05/0.007514, allocations: 4 kB / 256.6 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.007536, allocations: 3.984 kB / 256.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.007547, allocations: 8 kB / 256.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.007571, allocations: 28.83 kB / 256.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007571, allocations: 0 / 256.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.007757, allocations: 91.67 kB / 256.8 MB, free: 1.621 MB / 250.7 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.001249/0.009006, allocations: 0.6072 MB / 257.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.009145, allocations: 187.5 kB / 257.5 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.00915, allocations: 0 / 257.5 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.009207, allocations: 129.9 kB / 257.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.009309, allocations: 23.97 kB / 257.7 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.009684, allocations: 252.7 kB / 257.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.876e-05/0.009713, allocations: 63.47 kB / 258 MB, free: 488 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.009739, allocations: 11.98 kB / 258 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.009821, allocations: 81.27 kB / 258.1 MB, free: 396 kB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009821, allocations: 0 / 258.1 MB, free: 396 kB / 250.7 MB Notification: Performance of Templates: time 0.005197/0.01502, allocations: 3.33 MB / 261.4 MB, free: 13.08 MB / 266.7 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.566415134817362]