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.0009768/0.0009768, allocations: 93.06 kB / 19.65 MB, free: 280 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.001097/0.001097, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9855/0.9855, 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.01102/0.01102, allocations: 2.263 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.653e-06/1.653e-06, allocations: 0 / 332.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.74e-05, allocations: 8.641 kB / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002868/0.002895, allocations: 1.709 MB / 334.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.005107, allocations: 1.874 MB / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.005182, allocations: 4 kB / 336.4 MB, free: 12.84 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.0008045/0.005987, allocations: 163.3 kB / 336.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.006148, allocations: 67.69 kB / 336.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.006376, allocations: 91.64 kB / 336.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.006502, allocations: 79.77 kB / 336.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.006581, allocations: 4 kB / 336.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.00668, allocations: 51.89 kB / 336.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.006819, allocations: 27.91 kB / 336.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.006841, allocations: 8 kB / 336.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.007182, allocations: 251.5 kB / 337.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.007241, allocations: 23.92 kB / 337.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.007293, allocations: 15.98 kB / 337.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.007702, allocations: 279.2 kB / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.007705, allocations: 0 / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007707, allocations: 0 / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.007711, allocations: 0 / 337.4 MB, free: 11.8 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.0005011/0.008212, allocations: 493.4 kB / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.008251, allocations: 8.031 kB / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.008311, allocations: 16.89 kB / 337.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.008486, allocations: 151.4 kB / 338.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.008499, allocations: 384 / 338.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.008516, allocations: 4.375 kB / 338.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.008708, allocations: 120 kB / 338.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.00872, allocations: 3.938 kB / 338.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.008733, allocations: 3.984 kB / 338.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.008742, allocations: 4 kB / 338.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.008818, allocations: 53.62 kB / 338.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.009127, allocations: 279.5 kB / 338.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.716e-05/0.009224, allocations: 103.8 kB / 338.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.009282, allocations: 65.05 kB / 338.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.009299, allocations: 0 / 338.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.009445, allocations: 151.8 kB / 338.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.009446, allocations: 4 kB / 338.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003461/0.009792, allocations: 226.7 kB / 339.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.009823, allocations: 110.8 kB / 339.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.009929, allocations: 193.9 kB / 339.4 MB, free: 9.566 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.009941, allocations: 25.7 kB / 339.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.009973, allocations: 146.9 kB / 339.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.01, allocations: 23.8 kB / 339.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.01005, allocations: 31.36 kB / 339.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.0101, allocations: 0.4884 MB / 340.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.01015, allocations: 45.69 kB / 340.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.01021, allocations: 65.06 kB / 340.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.865e-05/0.01031, allocations: 114.7 kB / 340.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01031, allocations: 3.938 kB / 340.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002094/0.01052, allocations: 180.9 kB / 340.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.01055, allocations: 41.72 kB / 340.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01056, allocations: 0 / 340.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01058, allocations: 4 kB / 340.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.01067, allocations: 8 kB / 340.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01067, allocations: 0 / 340.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.01073, allocations: 15.94 kB / 340.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.01074, allocations: 4 kB / 340.5 MB, free: 8.285 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 7.419e-05/0.01082, allocations: 198.2 kB / 340.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.01085, allocations: 11.95 kB / 340.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.01088, allocations: 12.44 kB / 340.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01088, allocations: 4 kB / 340.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01088, allocations: 0 / 340.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01089, allocations: 4 kB / 340.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.72e-05/0.01098, allocations: 144.5 kB / 340.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01099, allocations: 12 kB / 340.9 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.01103, allocations: 7.984 kB / 340.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01104, allocations: 3.938 kB / 340.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01105, allocations: 8 kB / 340.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01105, allocations: 0 / 340.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01105, allocations: 4 kB / 340.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.01131, allocations: 243.3 kB / 341.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.01133, allocations: 15.89 kB / 341.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.01136, allocations: 4 kB / 341.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.01141, allocations: 7.984 kB / 341.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01145, allocations: 4 kB / 341.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.01147, allocations: 8 kB / 341.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.871e-05/0.01153, allocations: 147.2 kB / 341.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01153, allocations: 0 / 341.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.0119, allocations: 87.73 kB / 341.5 MB, free: 7.281 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.001419/0.01332, allocations: 495.4 kB / 341.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01355, allocations: 190.4 kB / 342.1 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01355, allocations: 0 / 342.1 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.293e-05/0.01363, allocations: 124.8 kB / 342.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01389, allocations: 27.86 kB / 342.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.01432, allocations: 245.9 kB / 342.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.01435, allocations: 71.2 kB / 342.6 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.0144, allocations: 7.984 kB / 342.6 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.01444, allocations: 20.48 kB / 342.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01444, allocations: 0 / 342.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of Templates: time 0.004036/0.01848, allocations: 2.974 MB / 345.6 MB, free: 3.18 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.9115683981217444]