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.001739/0.001739, allocations: 93.47 kB / 19.44 MB, free: 336 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.001891/0.001891, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.01376/0.01376, allocations: 2.257 MB / 261.8 MB, free: 10.82 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.252e-06/1.252e-06, allocations: 0 / 332.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.214e-05, allocations: 8.703 kB / 332.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002108/0.00213, allocations: 1.667 MB / 333.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.003848, allocations: 1.847 MB / 335.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.003893, allocations: 4 kB / 335.6 MB, free: 13.23 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.0005421/0.004435, allocations: 163.3 kB / 335.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.004543, allocations: 67.61 kB / 335.8 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.004698, allocations: 87.72 kB / 335.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.00479, allocations: 87.69 kB / 336 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.696e-05/0.004847, allocations: 8 kB / 336 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.004923, allocations: 47.91 kB / 336 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.005054, allocations: 34.77 kB / 336.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.005074, allocations: 4 kB / 336.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.005343, allocations: 243.6 kB / 336.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.005391, allocations: 23.91 kB / 336.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.005431, allocations: 23.92 kB / 336.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.005737, allocations: 295.1 kB / 336.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005739, allocations: 0 / 336.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00574, allocations: 0 / 336.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.005743, allocations: 0 / 336.7 MB, free: 12.16 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.000403/0.006146, allocations: 493.1 kB / 337.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.006173, allocations: 8.031 kB / 337.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.006222, allocations: 16.89 kB / 337.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.006358, allocations: 132.5 kB / 337.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.006368, allocations: 12.31 kB / 337.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.006379, allocations: 384 / 337.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.006519, allocations: 111.3 kB / 337.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006527, allocations: 3.938 kB / 337.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.006537, allocations: 8 kB / 337.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.00654, allocations: 4 kB / 337.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.00664, allocations: 73.59 kB / 337.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.006883, allocations: 291.4 kB / 337.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.006984, allocations: 103.9 kB / 337.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.007053, allocations: 80.98 kB / 338 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.007067, allocations: 0 / 338 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.007218, allocations: 171.8 kB / 338.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 7.71e-07/0.007218, allocations: 0 / 338.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003391/0.007558, allocations: 246.7 kB / 338.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.007583, allocations: 110.8 kB / 338.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.007671, allocations: 197.9 kB / 338.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.007681, allocations: 29.7 kB / 338.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.007708, allocations: 139 kB / 338.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.007732, allocations: 35.67 kB / 338.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.00777, allocations: 39.36 kB / 338.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.007819, allocations: 0.4922 MB / 339.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.00788, allocations: 53.69 kB / 339.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.00794, allocations: 77.17 kB / 339.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.008061, allocations: 142.7 kB / 339.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008062, allocations: 3.938 kB / 339.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002087/0.008271, allocations: 196.9 kB / 339.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.008294, allocations: 37.69 kB / 339.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.008298, allocations: 0 / 339.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.00831, allocations: 0 / 339.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.008375, allocations: 15.92 kB / 339.9 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.008379, allocations: 4 kB / 339.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.008431, allocations: 15.98 kB / 339.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.008441, allocations: 4 kB / 339.9 MB, free: 8.496 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.492e-05/0.008506, allocations: 198.2 kB / 340.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.008533, allocations: 15.95 kB / 340.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.008552, allocations: 8.438 kB / 340.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.008553, allocations: 0 / 340.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.008556, allocations: 4 kB / 340.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008559, allocations: 3.984 kB / 340.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.431e-05/0.008633, allocations: 140.6 kB / 340.3 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008635, allocations: 3.938 kB / 340.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.008675, allocations: 15.94 kB / 340.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008677, allocations: 0 / 340.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.008688, allocations: 4.094 kB / 340.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.00869, allocations: 4.062 kB / 340.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008691, allocations: 0 / 340.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.008937, allocations: 271.4 kB / 340.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.008957, allocations: 15.83 kB / 340.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.00898, allocations: 7.938 kB / 340.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/0.009031, allocations: 4 kB / 340.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.009062, allocations: 11.98 kB / 340.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.009075, allocations: 11.98 kB / 340.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.009127, allocations: 150.4 kB / 340.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009127, allocations: 4 kB / 340.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.009389, allocations: 87.73 kB / 340.9 MB, free: 7.461 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.002034/0.01142, allocations: 459.7 kB / 341.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.01165, allocations: 218.4 kB / 341.5 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01165, allocations: 12 kB / 341.6 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.394e-05/0.01174, allocations: 144.8 kB / 341.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01196, allocations: 19.94 kB / 341.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.01231, allocations: 261.3 kB / 342 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.99e-05/0.01235, allocations: 83.33 kB / 342.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.01238, allocations: 11.97 kB / 342.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.01242, allocations: 24.55 kB / 342.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01242, allocations: 0 / 342.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of Templates: time 0.005095/0.01752, allocations: 2.965 MB / 345.1 MB, free: 3.312 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: 4.314543694956228]