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.001799/0.001799, allocations: 84.73 kB / 19.44 MB, free: 356 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.002385/0.002385, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.01242/0.01242, allocations: 1.992 MB / 261.6 MB, free: 11.09 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 1.473e-06/1.473e-06, allocations: 0 / 331.6 MB, free: 17.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.737e-05, allocations: 8.984 kB / 331.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestState): time 0.005912/0.00594, allocations: 6.995 MB / 338.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 3.222e-05/0.005972, allocations: 39.8 kB / 338.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.00599, allocations: 0 / 338.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.006223, allocations: 67.58 kB / 338.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.184e-05/0.006245, allocations: 15.8 kB / 338.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.006429, allocations: 43.67 kB / 338.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.006501, allocations: 47.56 kB / 338.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.006544, allocations: 4 kB / 338.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.006586, allocations: 15.98 kB / 338.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.006641, allocations: 11.98 kB / 338.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.006656, allocations: 7.938 kB / 338.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.006816, allocations: 39.98 kB / 338.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.006828, allocations: 0 / 338.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.006859, allocations: 11.94 kB / 338.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.007004, allocations: 55.83 kB / 338.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.007007, allocations: 0 / 338.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007009, allocations: 0 / 338.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.007012, allocations: 0 / 338.9 MB, free: 9.914 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.0002704/0.007282, allocations: 266.3 kB / 339.2 MB, free: 9.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.007315, allocations: 8.031 kB / 339.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.00736, allocations: 12.89 kB / 339.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.945e-05/0.00741, allocations: 109.7 kB / 339.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.007421, allocations: 384 / 339.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/0.007428, allocations: 4.375 kB / 339.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.66e-05/0.007524, allocations: 54.25 kB / 339.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.007533, allocations: 192 / 339.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.007541, allocations: 4.125 kB / 339.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.00755, allocations: 7.984 kB / 339.4 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.007579, allocations: 24 kB / 339.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.33e-05/0.007672, allocations: 117.2 kB / 339.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.007723, allocations: 50.5 kB / 339.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.007747, allocations: 32.89 kB / 339.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.007771, allocations: 0 / 339.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.007789, allocations: 38.55 kB / 339.7 MB, free: 9.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 6.82e-07/0.007789, allocations: 0 / 339.7 MB, free: 9.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001901/0.00798, allocations: 136.5 kB / 339.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.007999, allocations: 55.41 kB / 339.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.906e-05/0.008018, allocations: 89.86 kB / 339.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.008025, allocations: 25.7 kB / 340 MB, free: 8.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-06/0.008035, allocations: 80.14 kB / 340 MB, free: 8.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.008075, allocations: 51.52 kB / 340.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.0081, allocations: 25.75 kB / 340.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.008153, allocations: 314.8 kB / 340.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.008179, allocations: 24 kB / 340.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.008198, allocations: 27.98 kB / 340.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/0.008261, allocations: 72.78 kB / 340.5 MB, free: 8.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.008263, allocations: 0 / 340.5 MB, free: 8.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.112e-05/0.008344, allocations: 104.7 kB / 340.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.008355, allocations: 8 kB / 340.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.00836, allocations: 0 / 340.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.008379, allocations: 0 / 340.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.00838, allocations: 3.938 kB / 340.6 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.008385, allocations: 4.062 kB / 340.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.008411, allocations: 11.83 kB / 340.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.008417, allocations: 4 kB / 340.7 MB, free: 8.016 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 4.352e-05/0.00846, allocations: 109.8 kB / 340.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.008469, allocations: 4 kB / 340.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.008498, allocations: 7.969 kB / 340.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.008501, allocations: 0 / 340.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.008506, allocations: 3.938 kB / 340.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.008507, allocations: 0 / 340.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.104e-05/0.008558, allocations: 117.3 kB / 340.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008559, allocations: 4 kB / 340.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.00856, allocations: 0 / 340.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.008561, allocations: 0 / 340.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.008566, allocations: 0 / 340.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.008568, allocations: 7.984 kB / 340.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008569, allocations: 0 / 340.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.259e-05/0.008661, allocations: 136.9 kB / 341.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.008669, allocations: 4 kB / 341.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.008677, allocations: 0 / 341.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.008696, allocations: 0 / 341.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.008708, allocations: 3.938 kB / 341.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.008711, allocations: 8.031 kB / 341.1 MB, free: 7.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.129e-05/0.008722, allocations: 75.28 kB / 341.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008722, allocations: 0 / 341.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.008924, allocations: 12 kB / 341.2 MB, free: 7.477 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.0002979/0.009222, allocations: 135.4 kB / 341.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.677e-05/0.009318, allocations: 59.98 kB / 341.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00932, allocations: 0 / 341.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.009344, allocations: 35.92 kB / 341.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.0097, allocations: 36.02 kB / 341.4 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.009979, allocations: 196.4 kB / 341.6 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.01001, allocations: 71.33 kB / 341.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.919e-05/0.01003, allocations: 15.92 kB / 341.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.01004, allocations: 8.5 kB / 341.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01004, allocations: 0 / 341.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of Templates: time 0.003891/0.01394, allocations: 1.663 MB / 343.4 MB, free: 5.277 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.236306632985361]