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.00111/0.00111, allocations: 80.75 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.001146/0.001146, allocations: 181 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 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.01959/0.01959, allocations: 1.992 MB / 262.3 MB, free: 10.95 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.313e-06/1.313e-06, allocations: 0 / 279.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.987e-05, allocations: 5.406 kB / 279.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestState): time 0.006907/0.006927, allocations: 7.755 MB / 287.3 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 3.317e-05/0.00696, allocations: 35.81 kB / 287.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.006978, allocations: 0 / 287.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.007163, allocations: 67.58 kB / 287.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.916e-05/0.007182, allocations: 23.78 kB / 287.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.00732, allocations: 35.69 kB / 287.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.007387, allocations: 51.61 kB / 287.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.007428, allocations: 3.938 kB / 287.5 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.007472, allocations: 23.91 kB / 287.5 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.007522, allocations: 8 kB / 287.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.00754, allocations: 7.938 kB / 287.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.00769, allocations: 40 kB / 287.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.007704, allocations: 7.938 kB / 287.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.007719, allocations: 8 kB / 287.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.007835, allocations: 47.83 kB / 287.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007838, allocations: 0 / 287.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007839, allocations: 0 / 287.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.007843, allocations: 0 / 287.7 MB, free: 1.488 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.0002081/0.008051, allocations: 244.8 kB / 287.9 MB, free: 1.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.00808, allocations: 12.03 kB / 287.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.008103, allocations: 0.9375 kB / 287.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.946e-05/0.008162, allocations: 117.7 kB / 288 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.00817, allocations: 384 / 288 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.008176, allocations: 4.359 kB / 288 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.008251, allocations: 41.08 kB / 288.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.008257, allocations: 192 / 288.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.008264, allocations: 4.125 kB / 288.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.008271, allocations: 4 kB / 288.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.212e-05/0.008283, allocations: 8 kB / 288.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.274e-05/0.008356, allocations: 70.69 kB / 288.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.00839, allocations: 26.52 kB / 288.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.008404, allocations: 16.89 kB / 288.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.008418, allocations: 0 / 288.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.008434, allocations: 30.56 kB / 288.2 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 5.21e-07/0.008435, allocations: 0 / 288.2 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.000111/0.008546, allocations: 89.28 kB / 288.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.008572, allocations: 55.34 kB / 288.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.894e-05/0.008601, allocations: 97.73 kB / 288.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.008609, allocations: 25.7 kB / 288.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.008628, allocations: 84.12 kB / 288.6 MB, free: 460 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.008667, allocations: 51.53 kB / 288.6 MB, free: 408 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.008691, allocations: 17.7 kB / 288.6 MB, free: 384 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.008755, allocations: 322.8 kB / 289 MB, free: 52 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.008766, allocations: 10.83 kB / 289 MB, free: 40 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.008774, allocations: 8 kB / 289 MB, free: 32 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.00881, allocations: 27.69 kB / 289 MB, free: 0 / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008811, allocations: 0 / 289 MB, free: 0 / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.1055/0.1143, allocations: 62.02 kB / 289.1 MB, free: 25.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1144, allocations: 3.344 kB / 289.1 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1144, allocations: 2.156 kB / 289.1 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1144, allocations: 1.906 kB / 289.1 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.1144, allocations: 0 / 289.1 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.1144, allocations: 0 / 289.1 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.1144, allocations: 15.66 kB / 289.1 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1144, allocations: 0 / 289.1 MB, free: 25.08 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.745e-05/0.1145, allocations: 111.7 kB / 289.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.1145, allocations: 0 / 289.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.1145, allocations: 6.188 kB / 289.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.1145, allocations: 6 kB / 289.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1145, allocations: 1.094 kB / 289.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1145, allocations: 1.125 kB / 289.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.798e-05/0.1146, allocations: 75.59 kB / 289.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1146, allocations: 0.6875 kB / 289.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.1146, allocations: 1.156 kB / 289.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1146, allocations: 0 / 289.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.1146, allocations: 3.875 kB / 289.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1146, allocations: 0.5625 kB / 289.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1146, allocations: 3.688 kB / 289.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.1147, allocations: 101.2 kB / 289.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.1147, allocations: 7.547 kB / 289.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.1147, allocations: 5.891 kB / 289.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.1147, allocations: 0 / 289.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.1147, allocations: 3.453 kB / 289.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.1147, allocations: 0.6562 kB / 289.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.141e-06/0.1147, allocations: 5.562 kB / 289.4 MB, free: 24.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1147, allocations: 0.5938 kB / 289.4 MB, free: 24.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.1149, allocations: 16.16 kB / 289.4 MB, free: 24.81 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.0002908/0.1152, allocations: 123 kB / 289.5 MB, free: 24.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.074e-05/0.1153, allocations: 36.05 kB / 289.6 MB, free: 24.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1153, allocations: 0 / 289.6 MB, free: 24.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.1153, allocations: 17.2 kB / 289.6 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.1155, allocations: 39.89 kB / 289.6 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.1161, allocations: 222.3 kB / 289.9 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.268e-05/0.1161, allocations: 60.05 kB / 289.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.1161, allocations: 2.219 kB / 289.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.1162, allocations: 64.05 kB / 290 MB, free: 24.47 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1162, allocations: 1.062 kB / 290 MB, free: 24.47 MB / 266.7 MB Notification: Performance of Templates: time 0.004294/0.1205, allocations: 1.948 MB / 291.9 MB, free: 24.3 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5908190137706697]