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.0006545/0.0006545, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008899/0.001544, allocations: 440 kB / 10.41 MB, free: 284 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.0006566/0.0006566, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008544/0.001511, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9274/0.9274, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08613/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.009649/0.009649, allocations: 2.254 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002227/0.01188, allocations: 1.426 MB / 247.8 MB, free: 11.06 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.533e-06/1.533e-06, allocations: 0 / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.457e-05, allocations: 2.312 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.001863/0.001877, allocations: 1.761 MB / 250.9 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.003557, allocations: 1.925 MB / 252.8 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.003604, allocations: 3.938 kB / 252.8 MB, free: 6.066 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.0003885/0.003993, allocations: 162.1 kB / 253 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.00407, allocations: 75.61 kB / 253 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.004184, allocations: 79.67 kB / 253.1 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.004286, allocations: 83.77 kB / 253.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.004343, allocations: 7.984 kB / 253.2 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.004433, allocations: 55.91 kB / 253.2 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.004533, allocations: 31.89 kB / 253.3 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004549, allocations: 8 kB / 253.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.004819, allocations: 267.4 kB / 253.5 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.004864, allocations: 19.94 kB / 253.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.004892, allocations: 12 kB / 253.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.005141, allocations: 239.3 kB / 253.8 MB, free: 5.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.00515, allocations: 4 kB / 253.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00515, allocations: 0 / 253.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.005158, allocations: 0 / 253.8 MB, free: 5.043 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.0004001/0.005558, allocations: 393.3 kB / 254.2 MB, free: 4.629 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.502e-05/0.005583, allocations: 8.031 kB / 254.2 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.005616, allocations: 12.92 kB / 254.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.005738, allocations: 125.7 kB / 254.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.005745, allocations: 384 / 254.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.005756, allocations: 8.375 kB / 254.4 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.005875, allocations: 121.1 kB / 254.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.005881, allocations: 7.938 kB / 254.5 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.005889, allocations: 0 / 254.5 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005894, allocations: 7.984 kB / 254.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.005933, allocations: 44.52 kB / 254.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.006101, allocations: 171.9 kB / 254.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.027e-05/0.006171, allocations: 83.02 kB / 254.8 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.006206, allocations: 55.45 kB / 254.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.006215, allocations: 4 kB / 254.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.006324, allocations: 155.2 kB / 255 MB, free: 3.699 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.006325, allocations: 4 kB / 255 MB, free: 3.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001592/0.006484, allocations: 185.5 kB / 255.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.00654, allocations: 203.8 kB / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.00661, allocations: 130.5 kB / 255.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006621, allocations: 29.69 kB / 255.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.006644, allocations: 88.09 kB / 255.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.006669, allocations: 27.78 kB / 255.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.006699, allocations: 25.69 kB / 255.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.006764, allocations: 318.8 kB / 256 MB, free: 2.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.006791, allocations: 48.66 kB / 256 MB, free: 2.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.006821, allocations: 59.41 kB / 256.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.006887, allocations: 127.7 kB / 256.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006889, allocations: 4 kB / 256.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.882e-05/0.006978, allocations: 139.8 kB / 256.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.007008, allocations: 41.69 kB / 256.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.007011, allocations: 0 / 256.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.00702, allocations: 4 kB / 256.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.007071, allocations: 8 kB / 256.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.007075, allocations: 3.984 kB / 256.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.007106, allocations: 11.98 kB / 256.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.007113, allocations: 4 kB / 256.4 MB, free: 2.098 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 6.92e-05/0.007182, allocations: 154.3 kB / 256.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.007197, allocations: 11.94 kB / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.007215, allocations: 16.42 kB / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.007216, allocations: 0 / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007219, allocations: 4.062 kB / 256.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.007221, allocations: 0 / 256.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.854e-05/0.00729, allocations: 81.88 kB / 256.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007291, allocations: 0 / 256.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.007314, allocations: 15.98 kB / 256.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.007325, allocations: 15.83 kB / 256.7 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.007327, allocations: 3.938 kB / 256.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007335, allocations: 8 kB / 256.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007336, allocations: 0 / 256.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007336, allocations: 0 / 256.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.007455, allocations: 194.9 kB / 256.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.007474, allocations: 7.938 kB / 256.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.483e-05/0.007499, allocations: 8 kB / 256.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.00752, allocations: 7.984 kB / 256.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.007528, allocations: 4 kB / 256.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.185e-05/0.00755, allocations: 20.84 kB / 257 MB, free: 1.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00755, allocations: 4 kB / 257 MB, free: 1.477 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.007717, allocations: 87.73 kB / 257.1 MB, free: 1.391 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.001263/0.00898, allocations: 0.6334 MB / 257.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.009128, allocations: 175.6 kB / 257.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.009136, allocations: 4 kB / 257.9 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.00921, allocations: 129.9 kB / 258 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.009342, allocations: 83.38 kB / 258.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.009726, allocations: 252.8 kB / 258.3 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.779e-05/0.009754, allocations: 63.34 kB / 258.4 MB, free: 156 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.816e-05/0.009782, allocations: 11.98 kB / 258.4 MB, free: 144 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.009867, allocations: 85.27 kB / 258.5 MB, free: 60 kB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009868, allocations: 0 / 258.5 MB, free: 60 kB / 250.7 MB Notification: Performance of Templates: time 0.004043/0.01391, allocations: 3.352 MB / 261.8 MB, free: 12.73 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.4236249309033155]