Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.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.0006934/0.0006934, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000909/0.001602, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007183/0.0007183, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008498/0.001568, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9466/0.9466, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07636/1.023, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.007031/0.007031, allocations: 1.985 MB / 246 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002356/0.009386, allocations: 1.23 MB / 247.2 MB, free: 11.64 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.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.373e-05, allocations: 2.312 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.005757/0.005771, allocations: 7.743 MB / 256.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.006078, allocations: 0.5526 MB / 256.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.006099, allocations: 8 kB / 256.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.006209, allocations: 55.66 kB / 256.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.008e-05/0.006229, allocations: 23.78 kB / 256.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.767e-05/0.006297, allocations: 35.69 kB / 256.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.006384, allocations: 39.69 kB / 256.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.006433, allocations: 7.984 kB / 256.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.006482, allocations: 8 kB / 256.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.006536, allocations: 15.92 kB / 256.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.006554, allocations: 4 kB / 256.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.006715, allocations: 28 kB / 257 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.006727, allocations: 4 kB / 257 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.006749, allocations: 15.88 kB / 257 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.00688, allocations: 43.83 kB / 257 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/0.006895, allocations: 0 / 257 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006896, allocations: 0 / 257 MB, free: 1.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.006911, allocations: 0 / 257 MB, free: 1.77 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002885/0.0072, allocations: 248.5 kB / 257.3 MB, free: 1.504 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.00723, allocations: 12.03 kB / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.007252, allocations: 0.9375 kB / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.816e-05/0.00731, allocations: 113.8 kB / 257.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.007321, allocations: 4.375 kB / 257.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-06/0.007326, allocations: 384 / 257.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.967e-05/0.007405, allocations: 41.03 kB / 257.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.007413, allocations: 192 / 257.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.007419, allocations: 4.125 kB / 257.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.007425, allocations: 0 / 257.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.438e-05/0.007439, allocations: 8 kB / 257.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.237e-05/0.007512, allocations: 74.62 kB / 257.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.007546, allocations: 22.58 kB / 257.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.007559, allocations: 16.89 kB / 257.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.00758, allocations: 0 / 257.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.007598, allocations: 30.56 kB / 257.6 MB, free: 1.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 5.81e-07/0.007599, allocations: 7.938 kB / 257.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001054/0.007704, allocations: 69.69 kB / 257.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.007734, allocations: 51.41 kB / 257.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.913e-05/0.007763, allocations: 93.8 kB / 257.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.00777, allocations: 25.7 kB / 257.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.007788, allocations: 84.38 kB / 257.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.007829, allocations: 47.58 kB / 257.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.007851, allocations: 21.73 kB / 258 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.007918, allocations: 314.8 kB / 258.3 MB, free: 368 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.007933, allocations: 10.83 kB / 258.3 MB, free: 356 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.007943, allocations: 12 kB / 258.3 MB, free: 344 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.007981, allocations: 42.73 kB / 258.3 MB, free: 300 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007982, allocations: 0 / 258.3 MB, free: 300 kB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 4.903e-05/0.008031, allocations: 57.69 kB / 258.4 MB, free: 236 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.008043, allocations: 7.594 kB / 258.4 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.008048, allocations: 3.938 kB / 258.4 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.008057, allocations: 0 / 258.4 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-06/0.008062, allocations: 0 / 258.4 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.008064, allocations: 4.062 kB / 258.4 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.008088, allocations: 11.88 kB / 258.4 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.008093, allocations: 3.984 kB / 258.4 MB, free: 208 kB / 250.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: 0 () * 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.476e-05/0.008137, allocations: 109.8 kB / 258.5 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-06/0.008143, allocations: 4 kB / 258.5 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.008167, allocations: 3.969 kB / 258.5 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.00817, allocations: 0 / 258.5 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.008172, allocations: 0 / 258.5 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008175, allocations: 3.938 kB / 258.5 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.842e-05/0.008233, allocations: 73.84 kB / 258.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.008234, allocations: 11.94 kB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.008235, allocations: 0 / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.008242, allocations: 7.891 kB / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.008243, allocations: 0 / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-06/0.008246, allocations: 4 kB / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.008248, allocations: 3.984 kB / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008249, allocations: 0 / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.885e-05/0.008318, allocations: 94.7 kB / 258.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.008325, allocations: 4 kB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.008336, allocations: 3.984 kB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.008345, allocations: 0 / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.008346, allocations: 4.031 kB / 258.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.971e-06/0.008352, allocations: 8.859 kB / 258.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008352, allocations: 0 / 258.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.975e-05/0.008452, allocations: 16 kB / 258.8 MB, free: 15.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: 0 () * 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.0002229/0.008675, allocations: 121.7 kB / 258.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.976e-05/0.008745, allocations: 36.73 kB / 258.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.00875, allocations: 3.984 kB / 258.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.00876, allocations: 12.86 kB / 258.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.00891, allocations: 32.09 kB / 259 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.0101, allocations: 199.2 kB / 259.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.813e-05/0.01013, allocations: 59.36 kB / 259.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.779e-05/0.01015, allocations: 0 / 259.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.0102, allocations: 63.36 kB / 259.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0102, allocations: 0 / 259.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Templates: time 0.002773/0.01297, allocations: 1.699 MB / 261 MB, free: 13.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestSat -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3034879062324762]