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.001996/0.001996, allocations: 92.7 kB / 19.44 MB, free: 324 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.002916/0.002916, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.01231/0.01231, allocations: 1.996 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.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.703e-06/1.703e-06, allocations: 0 / 331.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.572e-05, allocations: 4.844 kB / 331.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.006429/0.006455, allocations: 6.998 MB / 338.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002992/0.006754, allocations: 494.2 kB / 339.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.006782, allocations: 0 / 339.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.007001, allocations: 59.59 kB / 339.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.462e-05/0.007026, allocations: 19.8 kB / 339.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.007196, allocations: 31.77 kB / 339.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.00727, allocations: 35.67 kB / 339.2 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.007314, allocations: 4 kB / 339.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.007361, allocations: 15.98 kB / 339.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.007414, allocations: 11.94 kB / 339.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.007431, allocations: 0 / 339.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.007598, allocations: 28 kB / 339.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.007617, allocations: 7.984 kB / 339.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.00765, allocations: 11.94 kB / 339.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.007803, allocations: 47.88 kB / 339.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.007807, allocations: 0 / 339.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007809, allocations: 7.938 kB / 339.3 MB, free: 9.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007814, allocations: 0 / 339.3 MB, free: 9.539 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002998/0.008114, allocations: 254.3 kB / 339.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.008151, allocations: 12.03 kB / 339.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.0082, allocations: 8.891 kB / 339.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.757e-05/0.008258, allocations: 105.8 kB / 339.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.00827, allocations: 4.375 kB / 339.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.008277, allocations: 4.312 kB / 339.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.008383, allocations: 54.27 kB / 339.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.008392, allocations: 192 / 339.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.008401, allocations: 4.125 kB / 339.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.008409, allocations: 7.922 kB / 339.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.417e-05/0.008443, allocations: 28 kB / 339.8 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.008552, allocations: 121.2 kB / 339.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.008608, allocations: 42.56 kB / 340 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.008635, allocations: 29.14 kB / 340 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.00866, allocations: 0 / 340 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.00868, allocations: 38.55 kB / 340 MB, free: 8.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.008682, allocations: 4 kB / 340 MB, free: 8.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002058/0.008887, allocations: 132.8 kB / 340.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.00892, allocations: 55.41 kB / 340.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.937e-05/0.00894, allocations: 89.86 kB / 340.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.008946, allocations: 25.7 kB / 340.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.168e-05/0.008958, allocations: 80.38 kB / 340.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.009002, allocations: 47.53 kB / 340.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.00903, allocations: 17.72 kB / 340.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.009079, allocations: 318.8 kB / 340.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.009107, allocations: 24 kB / 340.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.009127, allocations: 28.02 kB / 340.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.009194, allocations: 64.78 kB / 340.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009195, allocations: 0 / 340.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.838e-05/0.009284, allocations: 97.67 kB / 341 MB, free: 7.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.009297, allocations: 8 kB / 341 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009302, allocations: 0 / 341 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.009322, allocations: 0 / 341 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.009324, allocations: 3.938 kB / 341 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.009329, allocations: 0 / 341 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.009355, allocations: 3.953 kB / 341 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.009361, allocations: 0 / 341 MB, free: 7.691 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: 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.529e-05/0.009406, allocations: 113.9 kB / 341.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.009415, allocations: 3.953 kB / 341.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.009449, allocations: 7.969 kB / 341.1 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.009455, allocations: 7.984 kB / 341.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.00946, allocations: 7.875 kB / 341.1 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.009462, allocations: 0 / 341.1 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.222e-05/0.009514, allocations: 113.2 kB / 341.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009515, allocations: 0 / 341.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.009515, allocations: 0 / 341.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.009517, allocations: 4 kB / 341.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.009522, allocations: 7.938 kB / 341.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.009522, allocations: 0 / 341.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009524, allocations: 4 kB / 341.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.009624, allocations: 124.4 kB / 341.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.009633, allocations: 7.953 kB / 341.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.009642, allocations: 0 / 341.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.009661, allocations: 0 / 341.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.009673, allocations: 3.938 kB / 341.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.009676, allocations: 4 kB / 341.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.02e-05/0.009686, allocations: 79.27 kB / 341.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.009686, allocations: 0 / 341.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.009913, allocations: 12.03 kB / 341.5 MB, free: 7.148 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.0002618/0.01018, allocations: 119.5 kB / 341.6 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.01028, allocations: 67.91 kB / 341.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01028, allocations: 0 / 341.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.0103, allocations: 24 kB / 341.7 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.01065, allocations: 23.97 kB / 341.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.01094, allocations: 180.7 kB / 341.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.01097, allocations: 75.28 kB / 342 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.01099, allocations: 7.984 kB / 342 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.01101, allocations: 8.5 kB / 342 MB, free: 6.605 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01101, allocations: 0 / 342 MB, free: 6.605 MB / 266.7 MB Notification: Performance of Templates: time 0.003871/0.01488, allocations: 1.407 MB / 343.4 MB, free: 5.238 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.242022681981325]