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.00177/0.00177, 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.001883/0.001883, allocations: 173 kB / 23.35 MB, free: 1.137 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.9057/0.9057, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.01184/0.01184, allocations: 2.269 MB / 262.5 MB, free: 10.68 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 2.154e-06/2.154e-06, allocations: 0 / 280 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.688e-05, allocations: 6.25 kB / 280 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003347/0.003374, allocations: 1.712 MB / 281.7 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.005932, allocations: 1.889 MB / 283.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.006, allocations: 4 kB / 283.6 MB, free: 5.59 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.0007538/0.006754, allocations: 163.2 kB / 283.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.006927, allocations: 71.67 kB / 283.8 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.007168, allocations: 87.66 kB / 283.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.00731, allocations: 83.77 kB / 284 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.007387, allocations: 7.984 kB / 284 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.007488, allocations: 39.91 kB / 284 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.007645, allocations: 35.89 kB / 284.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.007666, allocations: 8 kB / 284.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.008046, allocations: 243.5 kB / 284.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.008103, allocations: 15.98 kB / 284.3 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.008147, allocations: 27.92 kB / 284.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.008567, allocations: 279.2 kB / 284.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.008571, allocations: 4 kB / 284.6 MB, free: 4.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008572, allocations: 0 / 284.6 MB, free: 4.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.008578, allocations: 3.984 kB / 284.6 MB, free: 4.539 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.0004956/0.009074, allocations: 349.8 kB / 285 MB, free: 4.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.00911, allocations: 8.031 kB / 285 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.009155, allocations: 24.86 kB / 285 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.009336, allocations: 125.7 kB / 285.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.009351, allocations: 4.375 kB / 285.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.009366, allocations: 8.375 kB / 285.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.009536, allocations: 113.2 kB / 285.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.009546, allocations: 3.938 kB / 285.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.009556, allocations: 4 kB / 285.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.009562, allocations: 3.938 kB / 285.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.031e-05/0.009622, allocations: 44.52 kB / 285.3 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.009882, allocations: 168 kB / 285.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/0.009977, allocations: 78.86 kB / 285.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.01003, allocations: 55.45 kB / 285.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.01004, allocations: 4 kB / 285.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.01019, allocations: 151.3 kB / 285.7 MB, free: 3.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.01019, allocations: 0 / 285.7 MB, free: 3.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002204/0.01041, allocations: 177.5 kB / 285.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.01046, allocations: 114.8 kB / 286 MB, free: 2.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01056, allocations: 133.5 kB / 286.2 MB, free: 2.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01058, allocations: 33.62 kB / 286.2 MB, free: 2.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.01061, allocations: 92.12 kB / 286.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.01065, allocations: 27.78 kB / 286.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.0107, allocations: 21.7 kB / 286.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.01078, allocations: 322.9 kB / 286.7 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.01083, allocations: 44.53 kB / 286.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.01088, allocations: 59.39 kB / 286.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.01098, allocations: 111.8 kB / 286.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01098, allocations: 0 / 286.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001453/0.01113, allocations: 139.8 kB / 287 MB, free: 1.852 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.01116, allocations: 37.7 kB / 287 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01117, allocations: 0 / 287 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01118, allocations: 4.094 kB / 287 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.01126, allocations: 12.02 kB / 287.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.01127, allocations: 4 kB / 287.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.01132, allocations: 11.94 kB / 287.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01133, allocations: 4 kB / 287.1 MB, free: 1.773 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 0.0001008/0.01143, allocations: 154.3 kB / 287.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.01145, allocations: 15.92 kB / 287.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.01148, allocations: 12.38 kB / 287.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01148, allocations: 4 kB / 287.3 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01148, allocations: 0 / 287.3 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01149, allocations: 0 / 287.3 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.01159, allocations: 93.86 kB / 287.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.0116, allocations: 3.984 kB / 287.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.01164, allocations: 4 kB / 287.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01165, allocations: 4 kB / 287.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01166, allocations: 12 kB / 287.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01166, allocations: 0 / 287.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01166, allocations: 7.938 kB / 287.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.01184, allocations: 178.9 kB / 287.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01185, allocations: 7.953 kB / 287.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.01188, allocations: 7.938 kB / 287.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.01193, allocations: 12 kB / 287.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.01196, allocations: 7.984 kB / 287.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.01197, allocations: 0 / 287.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.01201, allocations: 28.83 kB / 287.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01201, allocations: 0 / 287.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.01232, allocations: 87.73 kB / 287.7 MB, free: 1.07 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.001752/0.01407, allocations: 0.5869 MB / 288.3 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.01427, allocations: 179.5 kB / 288.5 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.01428, allocations: 4 kB / 288.5 MB, free: 464 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.01436, allocations: 117.9 kB / 288.6 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.01452, allocations: 23.92 kB / 288.6 MB, free: 300 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.01491, allocations: 236.9 kB / 288.8 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1058/0.1207, allocations: 62.17 kB / 288.9 MB, free: 22.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.1208, allocations: 8.516 kB / 288.9 MB, free: 22.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1209, allocations: 77.95 kB / 289 MB, free: 22.7 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1209, allocations: 0 / 289 MB, free: 22.7 MB / 266.7 MB Notification: Performance of Templates: time 0.005425/0.1263, allocations: 3.299 MB / 292.3 MB, free: 22.49 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.5926961028017104]