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.0008385/0.0008385, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001317/0.001317, allocations: 169 kB / 23.03 MB, free: 1.543 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.913/0.913, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.01199/0.01199, allocations: 2.262 MB / 262.2 MB, free: 10.79 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.303e-06/1.303e-06, allocations: 0 / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.736e-05, allocations: 2.312 kB / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.001867/0.001884, allocations: 1.698 MB / 334.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.003561, allocations: 1.878 MB / 336.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.003616, allocations: 0 / 336.4 MB, free: 12.83 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.0005842/0.0042, allocations: 163.3 kB / 336.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.00431, allocations: 71.67 kB / 336.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.004466, allocations: 91.7 kB / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.004575, allocations: 83.7 kB / 336.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.64e-05/0.004641, allocations: 8 kB / 336.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.004717, allocations: 43.89 kB / 336.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.004829, allocations: 27.91 kB / 336.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.004846, allocations: 8 kB / 336.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.005104, allocations: 247.6 kB / 337.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.005149, allocations: 19.92 kB / 337.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.005186, allocations: 15.94 kB / 337.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.00549, allocations: 291.1 kB / 337.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005492, allocations: 4 kB / 337.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005492, allocations: 0 / 337.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005496, allocations: 0 / 337.4 MB, free: 11.77 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.0004023/0.005898, allocations: 485.4 kB / 337.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.005932, allocations: 12.03 kB / 337.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.00598, allocations: 12.89 kB / 337.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.006114, allocations: 140.4 kB / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.006124, allocations: 4.375 kB / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.006136, allocations: 384 / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.006283, allocations: 128 kB / 338.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.006291, allocations: 7.922 kB / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.006302, allocations: 0 / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.006309, allocations: 0 / 338.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.006361, allocations: 53.62 kB / 338.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.006603, allocations: 283.5 kB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.006678, allocations: 95.88 kB / 338.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.006723, allocations: 69 kB / 338.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.006733, allocations: 0 / 338.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.006845, allocations: 167.7 kB / 338.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 7.61e-07/0.006846, allocations: 0 / 338.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002658/0.007112, allocations: 218.8 kB / 339.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.007138, allocations: 114.8 kB / 339.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.007229, allocations: 185.9 kB / 339.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.007238, allocations: 29.7 kB / 339.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.007265, allocations: 138.8 kB / 339.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.007292, allocations: 31.72 kB / 339.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.007329, allocations: 31.38 kB / 339.6 MB, free: 9.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.00737, allocations: 0.4884 MB / 340.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.007405, allocations: 41.81 kB / 340.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.007443, allocations: 73.06 kB / 340.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.007518, allocations: 118.7 kB / 340.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00752, allocations: 3.938 kB / 340.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001473/0.007667, allocations: 176.9 kB / 340.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.007689, allocations: 37.7 kB / 340.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007693, allocations: 0 / 340.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.007705, allocations: 3.984 kB / 340.5 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.007769, allocations: 8 kB / 340.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.007774, allocations: 240 / 340.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.007815, allocations: 11.98 kB / 340.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.007824, allocations: 4 kB / 340.5 MB, free: 8.273 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 5.817e-05/0.007882, allocations: 201.2 kB / 340.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.007905, allocations: 19.89 kB / 340.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.007925, allocations: 12.42 kB / 340.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007927, allocations: 4 kB / 340.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.00793, allocations: 0 / 340.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.007932, allocations: 0 / 340.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.454e-05/0.008007, allocations: 144.5 kB / 340.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008009, allocations: 8 kB / 340.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.008034, allocations: 16 kB / 340.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.008036, allocations: 0 / 340.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.008047, allocations: 7.984 kB / 340.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008049, allocations: 0 / 340.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.00805, allocations: 3.984 kB / 340.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.008231, allocations: 247.3 kB / 341.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.008243, allocations: 15.83 kB / 341.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.008264, allocations: 0 / 341.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.008297, allocations: 4 kB / 341.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.008328, allocations: 11.98 kB / 341.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.008338, allocations: 8 kB / 341.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.008378, allocations: 150.5 kB / 341.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008378, allocations: 0 / 341.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.008655, allocations: 87.73 kB / 341.5 MB, free: 7.262 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.001017/0.009672, allocations: 486.2 kB / 341.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.009834, allocations: 186.4 kB / 342.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009835, allocations: 4.062 kB / 342.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.009892, allocations: 132.7 kB / 342.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.01009, allocations: 25.64 kB / 342.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.01038, allocations: 241.8 kB / 342.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.315e-05/0.01041, allocations: 67.2 kB / 342.6 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.743e-05/0.01043, allocations: 7.984 kB / 342.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01047, allocations: 24.48 kB / 342.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01047, allocations: 4.062 kB / 342.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of Templates: time 0.004848/0.01532, allocations: 3.319 MB / 345.9 MB, free: 2.816 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.7955829072743654]