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.0008448/0.0008448, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.00118/0.00118, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.008882/0.008882, allocations: 1.981 MB / 263 MB, free: 10.91 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.483e-06/1.483e-06, allocations: 0 / 333.5 MB, free: 16.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.487e-05, allocations: 2.312 kB / 333.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.008426/0.008451, allocations: 7.651 MB / 341.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.008701, allocations: 0.5527 MB / 341.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.008723, allocations: 0 / 341.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.008877, allocations: 55.61 kB / 341.8 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.15e-05/0.008888, allocations: 15.86 kB / 341.8 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.009008, allocations: 35.75 kB / 341.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.136e-05/0.00907, allocations: 35.69 kB / 341.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.009111, allocations: 7.984 kB / 341.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.009148, allocations: 15.92 kB / 341.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.009191, allocations: 8 kB / 341.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.009205, allocations: 0 / 341.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.009345, allocations: 28 kB / 341.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.009359, allocations: 11.88 kB / 342 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.009375, allocations: 8 kB / 342 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.009496, allocations: 43.83 kB / 342 MB, free: 8.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.009498, allocations: 0 / 342 MB, free: 8.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.009499, allocations: 4 kB / 342 MB, free: 8.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.009503, allocations: 4 kB / 342 MB, free: 8.172 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.0002017/0.009705, allocations: 360.2 kB / 342.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.009737, allocations: 12.03 kB / 342.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.009761, allocations: 5.234 kB / 342.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.115e-05/0.009802, allocations: 120.5 kB / 342.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.009811, allocations: 384 / 342.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-06/0.009816, allocations: 384 / 342.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.386e-05/0.00988, allocations: 38.2 kB / 342.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.009887, allocations: 192 / 342.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.009892, allocations: 4.125 kB / 342.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.009898, allocations: 8 kB / 342.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.208e-05/0.00991, allocations: 8 kB / 342.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.482e-05/0.009975, allocations: 101.2 kB / 342.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.01001, allocations: 31.19 kB / 342.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.017e-05/0.01002, allocations: 15.84 kB / 342.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.01003, allocations: 0 / 342.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.01005, allocations: 37.33 kB / 342.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.31e-07/0.01005, allocations: 0 / 342.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001083/0.01016, allocations: 84.56 kB / 342.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.01018, allocations: 59.34 kB / 342.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.614e-05/0.01019, allocations: 146.3 kB / 343 MB, free: 7.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-06/0.0102, allocations: 25.7 kB / 343 MB, free: 6.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.277e-05/0.01021, allocations: 131.1 kB / 343.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.01025, allocations: 47.53 kB / 343.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.01027, allocations: 27.36 kB / 343.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.01031, allocations: 0.4884 MB / 343.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.01032, allocations: 8 kB / 343.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-06/0.01033, allocations: 7.938 kB / 343.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.01037, allocations: 35.62 kB / 343.8 MB, free: 6.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01037, allocations: 0 / 343.8 MB, free: 6.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 5.526e-05/0.01042, allocations: 77.05 kB / 343.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.01043, allocations: 4 kB / 343.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01044, allocations: 0 / 343.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.01045, allocations: 0 / 343.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.01045, allocations: 0 / 343.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.01045, allocations: 7.938 kB / 343.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.01047, allocations: 0 / 343.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.01048, allocations: 0 / 343.9 MB, free: 6.125 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 3.751e-05/0.01052, allocations: 152.6 kB / 344 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-06/0.01052, allocations: 7.953 kB / 344 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.01055, allocations: 3.969 kB / 344 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01055, allocations: 12.02 kB / 344 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01055, allocations: 0 / 344 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01056, allocations: 7.922 kB / 344.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.235e-05/0.0106, allocations: 109.1 kB / 344.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0106, allocations: 3.984 kB / 344.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.0106, allocations: 0 / 344.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.0106, allocations: 0 / 344.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-06/0.0106, allocations: 0 / 344.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.0106, allocations: 0 / 344.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.01061, allocations: 0 / 344.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.905e-05/0.01066, allocations: 112.3 kB / 344.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.01067, allocations: 7.984 kB / 344.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-06/0.01068, allocations: 0 / 344.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/0.01069, allocations: 0 / 344.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-06/0.0107, allocations: 4 kB / 344.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/0.0107, allocations: 0 / 344.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.225e-05/0.01071, allocations: 119.2 kB / 344.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 344.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000124/0.01083, allocations: 11.94 kB / 344.4 MB, free: 5.527 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.0002133/0.01105, allocations: 136.6 kB / 344.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.01112, allocations: 35.66 kB / 344.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01112, allocations: 8 kB / 344.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.01113, allocations: 23.69 kB / 344.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01134, allocations: 23.91 kB / 344.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.01183, allocations: 186.1 kB / 344.8 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.985e-05/0.01185, allocations: 63.31 kB / 344.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.57e-05/0.01186, allocations: 3.938 kB / 344.9 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.01191, allocations: 86.17 kB / 345 MB, free: 4.914 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01191, allocations: 4 kB / 345 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Templates: time 0.002782/0.0147, allocations: 1.659 MB / 346.6 MB, free: 3.289 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.758745952975005]