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.0008845/0.0008845, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009628/0.0009628, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9887/0.9887, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.009133/0.009133, allocations: 2.276 MB / 263.3 MB, free: 10.62 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.472e-06/1.472e-06, allocations: 0 / 334 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.721e-05, allocations: 2.312 kB / 334 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002342/0.002359, allocations: 1.708 MB / 335.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004307, allocations: 1.862 MB / 337.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.004361, allocations: 7.938 kB / 337.6 MB, free: 12.56 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.0004499/0.004811, allocations: 167.2 kB / 337.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.004893, allocations: 67.67 kB / 337.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.005006, allocations: 83.72 kB / 337.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.282e-05/0.005088, allocations: 87.7 kB / 338 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.005141, allocations: 7.984 kB / 338 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.005196, allocations: 39.91 kB / 338 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.005284, allocations: 39.89 kB / 338.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.005298, allocations: 8 kB / 338.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.005512, allocations: 239.6 kB / 338.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.005547, allocations: 23.91 kB / 338.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.005574, allocations: 19.94 kB / 338.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.005808, allocations: 283.2 kB / 338.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.00581, allocations: 3.984 kB / 338.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005811, allocations: 0 / 338.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.768e-06/0.005815, allocations: 0 / 338.6 MB, free: 11.51 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.0002683/0.006083, allocations: 481.4 kB / 339.1 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.476e-05/0.006108, allocations: 20.02 kB / 339.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.006135, allocations: 8.891 kB / 339.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.006224, allocations: 140.4 kB / 339.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.006231, allocations: 384 / 339.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.006238, allocations: 4.375 kB / 339.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.006326, allocations: 123.9 kB / 339.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.006332, allocations: 3.938 kB / 339.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.006338, allocations: 0 / 339.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.006341, allocations: 4 kB / 339.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.006374, allocations: 41.69 kB / 339.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.00654, allocations: 272.1 kB / 339.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.00659, allocations: 87.88 kB / 339.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.006619, allocations: 65.17 kB / 339.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.006629, allocations: 11.92 kB / 339.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.927e-05/0.006708, allocations: 155.7 kB / 340 MB, free: 9.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 8.01e-07/0.006709, allocations: 0 / 340 MB, free: 9.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001725/0.006881, allocations: 214.7 kB / 340.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.006906, allocations: 102.8 kB / 340.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.006966, allocations: 197.9 kB / 340.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.006974, allocations: 29.7 kB / 340.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.006998, allocations: 146.8 kB / 340.7 MB, free: 9.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.007019, allocations: 23.73 kB / 340.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.007047, allocations: 35.34 kB / 340.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.007088, allocations: 0.4884 MB / 341.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.007109, allocations: 41.62 kB / 341.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.007134, allocations: 65.06 kB / 341.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.007182, allocations: 110.8 kB / 341.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007184, allocations: 0 / 341.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001051/0.007289, allocations: 176.8 kB / 341.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.007308, allocations: 44.66 kB / 341.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.007311, allocations: 0 / 341.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.007318, allocations: 4 kB / 341.7 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.007361, allocations: 11.94 kB / 341.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.007363, allocations: 0 / 341.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.007399, allocations: 11.94 kB / 341.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.007405, allocations: 4 kB / 341.7 MB, free: 8.074 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.527e-05/0.00746, allocations: 194.3 kB / 341.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.00748, allocations: 19.89 kB / 341.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.007496, allocations: 12.47 kB / 341.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.007499, allocations: 0 / 341.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.007501, allocations: 0 / 341.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007505, allocations: 4.062 kB / 341.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.983e-05/0.007575, allocations: 129.2 kB / 342.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007576, allocations: 0 / 342.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.007594, allocations: 8 kB / 342.1 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.007595, allocations: 0 / 342.1 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.007603, allocations: 7.938 kB / 342.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007605, allocations: 7.922 kB / 342.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007606, allocations: 0 / 342.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.007745, allocations: 235.4 kB / 342.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.007756, allocations: 19.88 kB / 342.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.007773, allocations: 7.938 kB / 342.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.007797, allocations: 4 kB / 342.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.007817, allocations: 7.922 kB / 342.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.007826, allocations: 8 kB / 342.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.766e-05/0.007853, allocations: 147.2 kB / 342.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007854, allocations: 0 / 342.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.008045, allocations: 87.73 kB / 342.6 MB, free: 7.105 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.0008778/0.008923, allocations: 498.7 kB / 343.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.009035, allocations: 178.4 kB / 343.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.72e-07/0.009036, allocations: 0 / 343.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.009081, allocations: 128.8 kB / 343.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.009215, allocations: 15.98 kB / 343.4 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.009445, allocations: 253.8 kB / 343.6 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.071e-05/0.009465, allocations: 71.2 kB / 343.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.009488, allocations: 4 kB / 343.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.009558, allocations: 98.17 kB / 343.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009558, allocations: 0 / 343.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Templates: time 0.00382/0.01338, allocations: 3.355 MB / 347.2 MB, free: 2.551 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 os._exit(0), Time elapsed: 2.8198553221300244]