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.001447/0.001447, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001804/0.001804, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9655/0.9655, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.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.008726/0.008726, allocations: 2.265 MB / 262.5 MB, free: 10.67 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.162e-06/1.162e-06, allocations: 0 / 280 MB, free: 9.168 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.168e-05, allocations: 5.969 kB / 280 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.001938/0.00195, allocations: 1.749 MB / 281.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.003536, allocations: 1.909 MB / 283.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.003585, allocations: 0 / 283.7 MB, free: 5.48 MB / 266.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.0004609/0.004045, allocations: 155.3 kB / 283.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.004123, allocations: 67.62 kB / 283.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.004228, allocations: 83.7 kB / 284 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.131e-05/0.00432, allocations: 79.78 kB / 284.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.004371, allocations: 7.984 kB / 284.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.004436, allocations: 47.89 kB / 284.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.004529, allocations: 31.91 kB / 284.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.004542, allocations: 4 kB / 284.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.0048, allocations: 267.5 kB / 284.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.004838, allocations: 19.92 kB / 284.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.004867, allocations: 23.97 kB / 284.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.005122, allocations: 279.2 kB / 284.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.005123, allocations: 0 / 284.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005124, allocations: 4 kB / 284.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.005126, allocations: 0 / 284.7 MB, free: 4.43 MB / 266.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.000304/0.00543, allocations: 357.7 kB / 285.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.005456, allocations: 12.03 kB / 285.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.005483, allocations: 8.922 kB / 285.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.005601, allocations: 133.6 kB / 285.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-06/0.005607, allocations: 384 / 285.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.005615, allocations: 8.375 kB / 285.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.005721, allocations: 113.2 kB / 285.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.005727, allocations: 3.938 kB / 285.4 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.005733, allocations: 4 kB / 285.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.005737, allocations: 0 / 285.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.956e-05/0.005776, allocations: 52.45 kB / 285.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.005942, allocations: 164.1 kB / 285.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.883e-05/0.006001, allocations: 82.89 kB / 285.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.006036, allocations: 55.45 kB / 285.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.006044, allocations: 0 / 285.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.999e-05/0.006144, allocations: 151.3 kB / 285.9 MB, free: 3.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 6.21e-07/0.006145, allocations: 3.938 kB / 285.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001453/0.00629, allocations: 181.5 kB / 286 MB, free: 2.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.006392, allocations: 110.8 kB / 286.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.00646, allocations: 138.5 kB / 286.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.006471, allocations: 29.7 kB / 286.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.006494, allocations: 92.11 kB / 286.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.006516, allocations: 23.8 kB / 286.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.006546, allocations: 25.69 kB / 286.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.006608, allocations: 322.8 kB / 286.8 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.006634, allocations: 44.52 kB / 286.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.006663, allocations: 55.39 kB / 286.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/0.006722, allocations: 115.9 kB / 287 MB, free: 1.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.006724, allocations: 0 / 287 MB, free: 1.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.431e-05/0.006818, allocations: 139.8 kB / 287.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.006843, allocations: 41.69 kB / 287.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.006847, allocations: 0 / 287.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.006854, allocations: 0 / 287.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.0069, allocations: 11.98 kB / 287.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006903, allocations: 0 / 287.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.006935, allocations: 11.95 kB / 287.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-06/0.006942, allocations: 4.031 kB / 287.2 MB, free: 1.664 MB / 266.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 6.283e-05/0.007005, allocations: 154.3 kB / 287.3 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.007021, allocations: 19.92 kB / 287.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.007037, allocations: 8.438 kB / 287.4 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007038, allocations: 0 / 287.4 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.00704, allocations: 4 kB / 287.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.007043, allocations: 96 / 287.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.17e-05/0.007104, allocations: 81.88 kB / 287.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.007107, allocations: 11.98 kB / 287.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.007126, allocations: 11.92 kB / 287.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.007128, allocations: 4 kB / 287.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007136, allocations: 11.94 kB / 287.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.007136, allocations: 0 / 287.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007137, allocations: 0 / 287.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.007248, allocations: 186.9 kB / 287.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.007258, allocations: 7.953 kB / 287.7 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.007276, allocations: 11.94 kB / 287.7 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.007299, allocations: 4 kB / 287.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.00732, allocations: 3.984 kB / 287.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.007329, allocations: 4 kB / 287.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.264e-05/0.007352, allocations: 24.83 kB / 287.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007352, allocations: 4 kB / 287.7 MB, free: 1.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.007518, allocations: 87.73 kB / 287.8 MB, free: 0.9609 MB / 266.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.00111/0.008628, allocations: 0.5804 MB / 288.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.008759, allocations: 179.6 kB / 288.6 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.008761, allocations: 0 / 288.6 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.008816, allocations: 126 kB / 288.7 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.606e-05/0.008912, allocations: 23.64 kB / 288.7 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08445/0.09336, allocations: 234.7 kB / 288.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.09339, allocations: 66.55 kB / 289 MB, free: 22.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.09344, allocations: 8.406 kB / 289 MB, free: 22.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.09355, allocations: 80.92 kB / 289.1 MB, free: 22.9 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.09355, allocations: 0 / 289.1 MB, free: 22.9 MB / 266.7 MB Notification: Performance of Templates: time 0.005319/0.09887, allocations: 3.296 MB / 292.4 MB, free: 22.69 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6735720317810774]