Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestState.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.0009997/0.0009997, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001021/0.001021, allocations: 173 kB / 23.49 MB, free: 1.055 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/1, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007808/0.007808, allocations: 1.988 MB / 262.3 MB, free: 11.12 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.TestMedium.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") translateModel(ExternalMedia.Test.TestMedium.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 332.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/2.026e-05, allocations: 2.312 kB / 332.3 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestState): time 0.008118/0.008138, allocations: 7.735 MB / 340.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 4.03e-05/0.008179, allocations: 31.88 kB / 340.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.008209, allocations: 0 / 340.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.00843, allocations: 63.58 kB / 340.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.336e-05/0.008453, allocations: 19.84 kB / 340.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.008623, allocations: 47.62 kB / 340.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.008705, allocations: 43.62 kB / 340.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.008752, allocations: 0 / 340.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.0088, allocations: 23.91 kB / 340.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.008857, allocations: 11.98 kB / 340.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.008879, allocations: 0 / 340.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.009059, allocations: 43.94 kB / 340.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.009073, allocations: 0 / 340.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.009103, allocations: 12 kB / 340.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.009271, allocations: 55.77 kB / 340.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009274, allocations: 4 kB / 340.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009275, allocations: 0 / 340.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.009282, allocations: 0 / 340.4 MB, free: 9.137 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002859/0.009568, allocations: 372.5 kB / 340.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.009617, allocations: 8.031 kB / 340.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.009661, allocations: 4.891 kB / 340.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.103e-05/0.009722, allocations: 112.6 kB / 340.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.009734, allocations: 384 / 340.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.009742, allocations: 384 / 340.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/0.009839, allocations: 37.22 kB / 340.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.009846, allocations: 4.188 kB / 340.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.009858, allocations: 12.11 kB / 341 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.009869, allocations: 7.922 kB / 341 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.00989, allocations: 15.88 kB / 341 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.01001, allocations: 120.6 kB / 341.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.01006, allocations: 31.06 kB / 341.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.01008, allocations: 23.7 kB / 341.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.01011, allocations: 0 / 341.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.01013, allocations: 33.39 kB / 341.2 MB, free: 8.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.01013, allocations: 0 / 341.2 MB, free: 8.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002002/0.01033, allocations: 93.8 kB / 341.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.01037, allocations: 63.44 kB / 341.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.253e-05/0.0104, allocations: 142.2 kB / 341.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.026e-06/0.01041, allocations: 25.7 kB / 341.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.66e-05/0.01042, allocations: 126.9 kB / 341.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.01048, allocations: 47.59 kB / 341.7 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.01051, allocations: 27.36 kB / 341.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.0106, allocations: 0.4884 MB / 342.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.01062, allocations: 8 kB / 342.2 MB, free: 7.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.01064, allocations: 11.94 kB / 342.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.0107, allocations: 50.42 kB / 342.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01071, allocations: 0 / 342.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.905e-05/0.01079, allocations: 69.69 kB / 342.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01081, allocations: 4 kB / 342.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.01082, allocations: 3.984 kB / 342.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01084, allocations: 4 kB / 342.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.01084, allocations: 3.938 kB / 342.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01085, allocations: 3.984 kB / 342.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.01089, allocations: 7.891 kB / 342.4 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.01089, allocations: 0 / 342.4 MB, free: 7.008 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.893e-05/0.01095, allocations: 160.6 kB / 342.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-06/0.01096, allocations: 4.031 kB / 342.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.011, allocations: 3.969 kB / 342.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.01101, allocations: 7.984 kB / 342.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01101, allocations: 7.875 kB / 342.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01102, allocations: 0 / 342.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.067e-05/0.01109, allocations: 116.6 kB / 342.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01109, allocations: 4 kB / 342.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.01109, allocations: 0 / 342.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01109, allocations: 0 / 342.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.0111, allocations: 4 kB / 342.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.0111, allocations: 7.922 kB / 342.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0111, allocations: 4 kB / 342.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.01122, allocations: 120.3 kB / 342.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.01123, allocations: 4 kB / 342.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.01124, allocations: 0 / 342.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.01126, allocations: 0 / 342.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.01128, allocations: 3.938 kB / 342.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.01128, allocations: 0 / 342.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.908e-05/0.0113, allocations: 119.2 kB / 342.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0113, allocations: 0 / 342.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01152, allocations: 19.94 kB / 342.9 MB, free: 6.367 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004542/0.01197, allocations: 126.4 kB / 343 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.0121, allocations: 43.61 kB / 343.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0121, allocations: 0 / 343.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.01213, allocations: 34.14 kB / 343.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.01245, allocations: 27.95 kB / 343.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.0132, allocations: 225.8 kB / 343.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.01323, allocations: 59.36 kB / 343.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.495e-05/0.01325, allocations: 7.984 kB / 343.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.01326, allocations: 8.5 kB / 343.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01326, allocations: 0 / 343.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of Templates: time 0.004158/0.01742, allocations: 1.664 MB / 345.1 MB, free: 4.184 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestState.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.759911813074723]